34
Assume I have copied a byte buffer into a memory stream using this
memoryStream.Read(data, 0, data.Length);
Is there any way for me to empty the stream and reuse it to read additional data?
I want to avoid creating many MemoryStream objects and prefer to use one instance, resetting it between usages