The StreamExtension type exposes the following members.

Methods

  Name Description
Public method Static member ReadToEnd(Stream)
Reads a stream into byte array.
Public method Static member ReadToEnd(Stream, Int32)
Reads data from a stream until the end is reached. The data is returned as a byte array. An IOException is thrown if any of the underlying IO calls fail.
Public method Static member WriteToEnd
Writes the content of a bit array to the stream.

See Also