Table of Contents

Interface IAllocatedMemory

Namespace
MonoMod.Core.Platforms
Assembly
MonoMod.Core.dll
A single memory allocation from an IMemoryAllocator.
public interface IAllocatedMemory

Remarks

When this object is disposed, the allocation is freed. Similarly, when the GC collects this object, the allocation is freed.

Properties

BaseAddress
Gets the base address of this allocation.
IsExecutable
Gets whether or not this allocation is executable.
Memory
Gets a Span<T> of the memory allocation.
Size
Gets the size of this allocation.