System.IO.UnmanagedMemoryStream: Method Members

The methods of System.IO.UnmanagedMemoryStream are listed below. For a list of all members, see the UnmanagedMemoryStream Members list.

See Also: Inherited members from System.IO.Stream

Public Methods

override
Flush()

Overrides the Stream.Flush method so that no action is performed.

override
Read(byte[], int, int) : int

Reads the specified number of bytes into the specified array.

override
ReadByte() : int

Reads a byte from a stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.

override
Seek(long, SeekOrigin) : long

Sets the current position of the current stream to the given value.

override
SetLength(long)

Sets the length of a stream to a specified value.

override
Write(byte[], int, int)

Writes a block of bytes to the current stream using data from a buffer.

override
WriteByte(byte)

Writes a byte to the current position in the file stream.

Protected Methods

override
Dispose(bool)

Releases the unmanaged resources used by the System.IO.UnmanagedMemoryStream and optionally releases the managed resources.

Initialize(byte*, long, long, FileAccess)

Initializes a new instance of the System.IO.UnmanagedMemoryStream class by using a pointer to an unmanaged memory location.

Initialize(System.Runtime.InteropServices.SafeBuffer, long, long, FileAccess)

Initializes a new instance of the System.IO.UnmanagedMemoryStream class in a safe buffer with a specified offset, length, and file access.