How to convert a byte array to Stream [duplicate] January 3, 2023 by Tarik Easy, simply wrap a MemoryStream around it: Stream stream = new MemoryStream(buffer);