Creates a multi-buffer stream whose backing store is memory.
The following tables list the members exposed by the MultiBufferMemoryStream type.
Public Constructors
| Name | Description | |
|---|---|---|
| MultiBufferMemoryStream | Initializes a new instance of the MultiBufferMemoryStream class with the specified buffer manager. |
Public Properties
| Name | Description | |
|---|---|---|
|
CanRead | Overridden. Gets a value indicating whether the current stream supports reading. |
|
CanSeek | Overridden. Gets a value indicating whether the current stream supports seeking. |
|
CanTimeout | (Inherited from Stream) |
|
CanWrite | Overridden. Gets a value indicating whether the current stream supports writing. |
|
Length | Overridden. Gets the length in bytes of the stream. |
|
Position | Overridden. Gets or sets the position within the current stream. |
|
ReadTimeout | (Inherited from Stream) |
|
WriteTimeout | (Inherited from Stream) |
Public Methods (see also Protected Methods)
| Name | Description | |
|---|---|---|
|
BeginRead | (Inherited from Stream) |
|
BeginWrite | (Inherited from Stream) |
|
Close | (Inherited from Stream) |
|
ComputeMD5Hash | Computes the hash value for this stream. |
|
CopyTo | (Inherited from Stream) |
|
CopyTo | (Inherited from Stream) |
|
CopyToAsync | (Inherited from Stream) |
|
CopyToAsync | (Inherited from Stream) |
|
CopyToAsync | (Inherited from Stream) |
|
CreateObjRef | (Inherited from MarshalByRefObject) |
|
Dispose | (Inherited from Stream) |
|
EndRead | (Inherited from Stream) |
|
EndWrite | (Inherited from Stream) |
|
Equals | (Inherited from Object) |
|
FastCopyToAsync | |
|
Flush | Overridden. Does not perform any operation, as the stream is an in-memory stream. |
|
FlushAsync | Overridden. |
|
FlushAsync | (Inherited from Stream) |
|
GetHashCode | (Inherited from Object) |
|
GetLifetimeService | (Inherited from MarshalByRefObject) |
|
GetType | (Inherited from Object) |
|
InitializeLifetimeService | (Inherited from MarshalByRefObject) |
|
Read | Overridden. Reads a block of bytes from the current stream and writes the data to a buffer. |
|
ReadAsync | Overridden. |
|
ReadAsync | (Inherited from Stream) |
|
ReadByte | (Inherited from Stream) |
|
Seek | Overridden. Sets the position within the current stream. |
|
SetLength | Overridden. Sets the length of the current stream. |
|
ToString | (Inherited from Object) |
|
Write | Overridden. Writes a block of bytes to the current stream using data read from a buffer. |
|
WriteAsync | Overridden. |
|
WriteAsync | (Inherited from Stream) |
|
WriteByte | (Inherited from Stream) |
Protected Methods
| Name | Description | |
|---|---|---|
|
CreateWaitHandle | Obsolete. (Inherited from Stream) |
|
Dispose | Overridden. Releases all resources used by the MultiBufferMemoryStream. |
|
Finalize | (Inherited from Object) |
|
MemberwiseClone | (Inherited from MarshalByRefObject) |
|
MemberwiseClone | (Inherited from Object) |
|
ObjectInvariant | Obsolete. (Inherited from Stream) |