MemoryStream Constructor (Byte)
Initializes a new non-resizable instance of the MemoryStream class based on the specified byte array.
Assembly: mscorlib (in mscorlib.dll)
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 4.5
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1