MemoryStream Constructor (Byte, Int32, Int32, Boolean, Boolean)
Assembly: mscorlib (in mscorlib.dll)
public MemoryStream( byte buffer, int index, int count, bool writable, bool publiclyVisible )
The array of unsigned bytes from which to create this stream.
The index into buffer at which the stream begins.
The length of the stream in bytes.
The setting of the CanWrite property, which determines whether the stream supports writing.
The new stream instance can be written to, but the Capacity of the underlying byte array cannot be changed. The length of the stream cannot be set to a value greater than the initial length of the specified byte array; however, the stream can be truncated (see SetLength).
Available since 10
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0