Method Resize
Resize(ulong)
Attempts to grow or shrink the allocator. Growing always succeeds, but shrinking might fail if the end of the heap is allocated.
Declaration
public bool Resize(ulong newSize)
Parameters
Type | Name | Description |
---|---|---|
ulong | newSize | The new size of the allocator. |
Returns
Type | Description |
---|---|
bool | Returns true if the operation is a success. Returns false otherwise. |