igregor.net
Convert a ByteArray into a Stream
Often when you need to call a function to save a file to disk or to a database you are required to pass a .NET stream to the function but all you have is a byte array. In pre-.NET days you had to m…