Initializes a new MemoryStream with an expandable capacity initially set to zero.
[Visual Basic] Overloads Public Sub New() [C#] public MemoryStream(); [C++] public: MemoryStream(); [JScript] public function MemoryStream();
The CanRead, CanSeek, and CanWrite properties are all set to true.
The capacity of the current stream is automatically increased when the SetLength method is used to set the length to a value larger than the capacity of the current stream.
This constructor exposes the underlying stream, which GetBuffer returns.
MemoryStream Class | MemoryStream Members | System.IO Namespace | MemoryStream Constructor Overload List