UnmanagedMemoryStream Class

Provides a in memory stream that allocates its own unmanaged memory.

Definition

Namespace: SnapDB.IO.Unmanaged
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public class UnmanagedMemoryStream : UnmanagedMemoryStreamCore, 
	ISupportsBinaryStream, IDisposable
Inheritance
Object    UnmanagedMemoryStreamCore    UnmanagedMemoryStream
Implements
ISupportsBinaryStream, IDisposable

Constructors

UnmanagedMemoryStream Create a new UnmanagedMemoryStream that allocates its own unmanaged memory.

Properties

IsDisposed Gets if the stream has been disposed.
(Inherited from UnmanagedMemoryStreamCore)
IsReadOnly Gets if the stream can be written to.
Length Gets the length of the current stream.
(Inherited from UnmanagedMemoryStreamCore)

Methods

ConfigureAlignment(Int64) Configure the natural alignment of the data.
(Inherited from UnmanagedMemoryStreamCore)
ConfigureAlignment(Int64, Int32) Configure the natural alignment of the data.
(Inherited from UnmanagedMemoryStreamCore)
CreateBinaryStream Creates a new binary from an IO session.
CreateIoSession Acquire an IO Session.
Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from UnmanagedMemoryStreamCore)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetBlock Gets a block for the following IO session.
(Inherited from UnmanagedMemoryStreamCore)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ReadBlock Reads from the underlying stream the requested set of data. This function is more user friendly than calling GetBlock().
(Inherited from UnmanagedMemoryStreamCore)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also