Struct AllocatorManager.Block
A block of memory with a Range and metadata for size in bytes of each item in the block, number of allocated items, and alignment.
Syntax
public struct Block : IDisposable
Fields
AllocatedItems
Declaration
public int AllocatedItems
Field Value
BytesPerItem
Declaration
Field Value
Log2Alignment
Declaration
public byte Log2Alignment
Field Value
Padding0
Declaration
Field Value
Padding1
Declaration
Field Value
Padding2
Declaration
Field Value
Range
Declaration
public AllocatorManager.Range Range
Field Value
Properties
Alignment
Declaration
public int Alignment { get; set; }
Property Value
Bytes
Declaration
public long Bytes { get; }
Property Value
Methods
Allocate()
Declaration
Dispose()
Declaration
Free()
Declaration
TryAllocate()
Declaration
Returns
TryFree()
Declaration
Returns