I have the following constructor method which opens a MemoryStream from a file path:
MemoryStream
MemoryStream _ms; public MyClass(string filePath) { by
How do I copy the contents of one stream to another?
see that. accept a stream and copy to memory. you should not use .Length for just Stream because it is not necessarily implemented in every concrete Stream.
.Length
Stream