MemoryPoolStreamCore Class

Provides a dynamically sizing sequence of unmanaged data.

Definition

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

Constructors

MemoryPoolStreamCore Creates a new MemoryPoolStreamCore using the default MemoryPool.
MemoryPoolStreamCore(MemoryPool) Create a new MemoryPoolStreamCore.

Properties

IsDisposed Gets if the stream has been disposed.
Length Gets the length of the current stream.

Methods

ConfigureAlignment(Int64) Configure the natural alignment of the data.
ConfigureAlignment(Int64, Int32) Configure the natural alignment of the data.
CopyTo Copies data from the current position of the BinaryStream to a specified memory location.
Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Releases the unmanaged resources before the MemoryPoolStreamCore object is reclaimed by GC.
(Overrides ObjectFinalize)
GetBlock Gets a block for the following IO session.
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().
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also