Table of Contents

Interface IAllocator

Namespace
ReFuel.Memory
Assembly
ReFuel.dll
public interface IAllocator : IDisposable
Inherited Members

Properties

AllocatedBytes

Amount of memory allocated in bytes.

long AllocatedBytes { get; }

Property Value

long

CapacityBytes

Maximum number of bytes available for this arena.

long CapacityBytes { get; }

Property Value

long

ComittedBytes

Amount of heap memory comitted for this arena.

long ComittedBytes { get; }

Property Value

long

Methods

Clear(bool)

Clear all allocations in this arena.

void Clear(bool uncommit = false)

Parameters

uncommit bool

True to uncommit the allocated memory pool

Remarks

Invalidates all allocations.