c# Copy growing memorystream to a new memorystream

146 Views Asked by At

I have a MemoryStream that is being filled by a call, each 16000 bits.

I need to create a copy without moving the position, because if I move it, the call write the next bits in the wrong place.

¿Is there any way i can copy a MemoryStream to a new MemoryStream with readonly, without moving the position?

0

There are 0 best solutions below