Constructor HeapAllocator
HeapAllocator(ulong, uint)
Creates a new HeapAllocator with the given initial size and alignment.
Declaration
public HeapAllocator(ulong size = 0, uint minimumAlignment = 1)
Parameters
Type | Name | Description |
---|---|---|
ulong | size | The initial size of the allocator. |
uint | minimumAlignment | The initial alignment of the allocator. |
Remarks
You can resize the allocator later.