Memory |
The MemoryBlockStream type exposes the following members.
Name | Description | |
---|---|---|
BeginRead | (Inherited from Stream) | |
BeginWrite | (Inherited from Stream) | |
Close | (Inherited from Stream) | |
CopyTo(Stream) | (Inherited from Stream) | |
CopyTo(Stream, Int32) | (Inherited from Stream) | |
CopyToAsync(Stream) | (Inherited from Stream) | |
CopyToAsync(Stream, Int32) | (Inherited from Stream) | |
CopyToAsync(Stream, Int32, CancellationToken) | (Inherited from Stream) | |
CreateObjRef | (Inherited from MarshalByRefObject) | |
CreateWaitHandle | Obsolete. (Inherited from Stream) | |
Dispose | (Inherited from Stream) | |
Dispose(Boolean) |
Release the unmanaged resources used by the MemoryBlockStream and
optionally releases the managed resources.
(Overrides StreamDispose(Boolean)) | |
EndRead | (Inherited from Stream) | |
EndWrite | (Inherited from Stream) | |
Equals | (Inherited from Object) | |
Finalize | (Inherited from Object) | |
Flush |
Clear all buffers for this stream and causes any buffered data to be written
to the underlying device.
(Overrides StreamFlush) | |
FlushAsync | (Inherited from Stream) | |
FlushAsync(CancellationToken) |
Asynchronously clear all buffers for this stream and causes any buffered data to be written
to the underlying device.
(Overrides StreamFlushAsync(CancellationToken)) | |
GetHashCode | (Inherited from Object) | |
GetLifetimeService | (Inherited from MarshalByRefObject) | |
GetType | (Inherited from Object) | |
InitializeLifetimeService | (Inherited from MarshalByRefObject) | |
MemberwiseClone | (Inherited from Object) | |
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject) | |
ObjectInvariant | Obsolete. (Inherited from Stream) | |
Read |
Read a sequence of bytes from the stream and advances the position
within the stream by the number of bytes read.
(Overrides StreamRead(Byte, Int32, Int32)) | |
ReadAsync(Byte, Int32, Int32) | (Inherited from Stream) | |
ReadAsync(Byte, Int32, Int32, CancellationToken) |
Asynchronously read a sequence of bytes from the stream and advances the position
within the stream by the number of bytes read.
(Overrides StreamReadAsync(Byte, Int32, Int32, CancellationToken)) | |
ReadByte | (Inherited from Stream) | |
Seek |
Set the position within the current stream.
(Overrides StreamSeek(Int64, SeekOrigin)) | |
SetLength |
Set the length of the stream.
(Overrides StreamSetLength(Int64)) | |
ToArray | Copy the memory stream into a byte array. | |
ToString | (Inherited from Object) | |
Write |
Write a sequence of bytes to the stream and advances the current
position within this stream by the number of bytes written.
(Overrides StreamWrite(Byte, Int32, Int32)) | |
WriteAsync(Byte, Int32, Int32) | (Inherited from Stream) | |
WriteAsync(Byte, Int32, Int32, CancellationToken) |
Asynchronously write a sequence of bytes to the stream and advances the current
position within this stream by the number of bytes written.
(Overrides StreamWriteAsync(Byte, Int32, Int32, CancellationToken)) | |
WriteByte | (Inherited from Stream) |