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);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top