A
Andrew Inwards
Can anyone tell me how to convert a byte array to a stream.?
Thanks
Andrew
Thanks
Andrew
Can anyone tell me how to convert a byte array to a stream.?
Thanks
Andrew
Lasse Vågsæther Karlsen said:Create a memory stream, write the contents of the array to it.
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);