public sealed class Memory : IDisposablePublic NotInheritable Class Memory
Implements IDisposablepublic ref class Memory sealed : IDisposableSnapDB.IO.Unmanaged.Memory = function();
Type.createClass(
'SnapDB.IO.Unmanaged.Memory',
null,
IDisposable);| Memory | Allocates unmanaged memory. The block is uninitialized. |
| Address | The pointer to the first byte of this unmanaged memory. Equals Zero if memory has been released. |
| Size | The number of bytes in this allocation. |
| Clear(Byte*, Int32) | Sets the data in this buffer to all zeroes. |
| Clear(IntPtr, Int32) | Sets the data in this buffer to all zeroes. |
| Copy(Byte*, Byte*, Int32) | Does a safe copy of data from one location to another. A safe copy allows for the source and destination to overlap. |
| Copy(IntPtr, IntPtr, Int32) | Does a safe copy of data from one location to another. A safe copy allows for the source and destination to overlap. |
| Dispose | Releases all the resources used by the Memory object. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize |
Releases the unmanaged resources before the Memory object is reclaimed by GC.
(Overrides ObjectFinalize) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| Release | Releases the allocated memory back to the OS. Same thing as calling Dispose(). |
| ToString | Returns a string that represents the current object. (Inherited from Object) |