public class MemoryPoolStream : MemoryPoolStreamCore,
ISupportsBinaryStream, IDisposablePublic Class MemoryPoolStream
Inherits MemoryPoolStreamCore
Implements ISupportsBinaryStream, IDisposablepublic ref class MemoryPoolStream : public MemoryPoolStreamCore,
ISupportsBinaryStream, IDisposableSnapDB.IO.Unmanaged.MemoryPoolStream = function();
Type.createClass(
'SnapDB.IO.Unmanaged.MemoryPoolStream',
SnapDB.IO.Unmanaged.MemoryPoolStreamCore,
SnapDB.IO.Unmanaged.ISupportsBinaryStream,
IDisposable);| MemoryPoolStream | Creates a new MemoryPoolStream using the default MemoryPool. |
| MemoryPoolStream(MemoryPool) | Create a new MemoryPoolStream |
| BlockSize | Gets the unit size of an individual block. |
| IsDisposed |
Gets if the stream has been disposed.
(Inherited from MemoryPoolStreamCore) |
| IsReadOnly | Gets if the stream can be written to. |
| Length |
Gets the length of the current stream.
(Inherited from MemoryPoolStreamCore) |
| ConfigureAlignment(Int64) |
Configure the natural alignment of the data.
(Inherited from MemoryPoolStreamCore) |
| ConfigureAlignment(Int64, Int32) |
Configure the natural alignment of the data.
(Inherited from MemoryPoolStreamCore) |
| CopyTo |
Copies data from the current position of the BinaryStream to a specified memory location.
(Inherited from MemoryPoolStreamCore) |
| 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 MemoryPoolStreamCore) |
| Equals | Determines 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.
(Inherited from MemoryPoolStreamCore) |
| GetBlock |
Gets a block for the following IO session.
(Inherited from MemoryPoolStreamCore) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates 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 MemoryPoolStreamCore) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |