Interface IMemoryHandler
Contains methods which allow to perform operations with memory buffers.
public interface IMemoryHandler : IDisposableMethods
- Alloc(int)
- Allocates size bytes of uninitialized storage. 
- Copy(IntPtr, IntPtr, int)
- Copies - countbytes from the object pointed to by- srcto the object pointed to by- dest. Both objects are reinterpreted as arrays of byte.
- CopyLong(IntPtr, IntPtr, ulong)
- Copies - countbytes from the object pointed to by- srcto the object pointed to by- dest. Both objects are reinterpreted as arrays of byte.
- Fill(IntPtr, byte, int)
- Copies the - fillByteinto each of the first count bytes of the object pointed to by- dest.
- FillLong(IntPtr, byte, ulong)
- Copies the - fillByteinto each of the first count bytes of the object pointed to by- dest.
- Free(IntPtr)
- Deallocates the space previously allocated by Alloc(int) or Realloc(IntPtr, int). 
- Move(IntPtr, IntPtr, int)
- Copies - countbytes from the object pointed to by- srcto the object pointed to by- dest. Both objects are reinterpreted as arrays of byte.
- MoveLong(IntPtr, IntPtr, ulong)
- Copies - countbytes from the object pointed to by- srcto the object pointed to by- dest. Both objects are reinterpreted as arrays of byte.
- Realloc(IntPtr, int)
- Reallocates the given area of memory (implicitly creating objects in the destination area). It must be previously allocated by Alloc(int) and not yet freed with FreeMem(IntPtr), otherwise, the results are undefined. 
- ReallocLong(IntPtr, ulong)
- Reallocates the given area of memory (implicitly creating objects in the destination area). It must be previously allocated by Alloc(int) and not yet freed with FreeMem(IntPtr), otherwise, the results are undefined.