Table of Contents

Constructor PositionedAllocationRequest

Namespace
MonoMod.Core.Platforms
Assembly
MonoMod.Core.dll

PositionedAllocationRequest(nint, nint, nint, AllocationRequest)

A memory allocation request which specifies a set of bounds which the allocation must fall into.
public PositionedAllocationRequest(nint Target, nint LowBound, nint HighBound, AllocationRequest Base)

Parameters

Target nint
The target address for the allocation. The allocator will attempt to allocate memory as close to this address as it can.
LowBound nint
The lower bound of allowed addresses that the allocation may be placed at.
HighBound nint
The upper bound of allowed addresses that the allocation may be placed at.
Base AllocationRequest
The AllocationRequest specifying all other allocation parameters.