Saturday, December 29, 2007

C#: Convert byte array to Stream

public Stream ConvertByteArrayToStream(byte[] input)
{
return new MemoryStream(input);
}

8 comments:

Please use your common sense before making a comment, and I truly appreciate your constructive criticisms.