Class MemoryAllocator
public abstract class MemoryAllocator- Inheritance
- 
      
      MemoryAllocator
- Derived
- Inherited Members
Constructors
MemoryAllocator(int)
protected MemoryAllocator(int alignment = 64)Parameters
- alignmentint
Fields
DefaultAlignment
public const int DefaultAlignment = 64Field Value
Properties
Alignment
protected int Alignment { get; }Property Value
Default
public static Lazy<MemoryAllocator> Default { get; }Property Value
Statistics
public MemoryAllocator.Stats Statistics { get; }Property Value
Methods
Allocate(int)
public IMemoryOwner<byte> Allocate(int length)Parameters
- lengthint
Returns
AllocateInternal(int, out int)
protected abstract IMemoryOwner<byte> AllocateInternal(int length, out int bytesAllocated)