Table of Contents

Class Allocator

Namespace
Netick
Assembly
Netick.dll
public sealed class Allocator
Inheritance
Allocator
Inherited Members

Fields

Pools

public List<Allocator.MemoryPool> Pools

Field Value

List<Allocator.MemoryPool>

Methods

AddNewPool()

public void AddNewPool()

CopyTo(Allocator)

public void CopyTo(Allocator dest)

Parameters

dest Allocator

~Allocator()

protected ~Allocator()

Free(void*)

public void Free(void* ptr)

Parameters

ptr void*

Malloc(ulong, out int, out long)

public void* Malloc(ulong size, out int poolIndex, out long offset)

Parameters

size ulong
poolIndex int
offset long

Returns

void*

SafeMalloc(ulong, out int, out long)

public void* SafeMalloc(ulong size, out int poolIndex, out long offset)

Parameters

size ulong
poolIndex int
offset long

Returns

void*