Convert byte array to stream

  • Thread starter Thread starter Andrew Inwards
  • Start date Start date
Hello Andrew,

You can create a MemoryStream instance from that array.
 
Lasse Vågsæther Karlsen said:
Create a memory stream, write the contents of the array to it.

It's easier than that:

Stream s = new MemoryStream(byteArray);
 
Back
Top