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).
Silverlight for Windows PhoneSystem.ArgumentNullException is thrown when trying to retrieve a MemoryStream object with a size of zero bytes from a resource file. On Windows, no exception is thrown when the length is equal to zero.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.