Click or drag to resize
Ab4d.SharpEngine logo

HeapAllocator Methods

The HeapAllocator type exposes the following members.

Methods
 NameDescription
Public methodAlloc(Int32, UInt32) Tries to allocate the block of memory with the specified size. When the block is allocated then true is returned and the dataOffset is set to the offset inside the memory block that is behind this HeapAllocator.
Public methodAlloc(UInt32, UInt32) Tries to allocate the block of memory with the specified size. When the block is allocated then true is returned and the dataOffset is set to the offset inside the memory block that is behind this HeapAllocator.
Public methodAlloc(Int32, String, UInt32) Tries to allocate the block of memory with the specified size. When the block is allocated then true is returned and the dataOffset is set to the offset inside the memory block that is behind this HeapAllocator.
Public methodAlloc(UInt32, String, UInt32) Tries to allocate the block of memory with the specified size. When the block is allocated then true is returned and the dataOffset is set to the offset inside the memory block that is behind this HeapAllocator.
Public methodDumpReport 
Public methodFree 
Public methodGetMemoryBlockInfo Returns size and name (can be null) of the allocated memory block at the specified offset. If block at that offset is not found, then returned size is 0 and name is null.
Public methodGetReportString 
Public methodGetUsedBlockNames 
Top
See Also