Table of Contents

Interface IMemoryAllocator

Namespace
Netick
Assembly
Netick.dll
public interface IMemoryAllocator

Methods

Clear(void*, long)

void Clear(void* ptr, long sizeBytes)

Parameters

ptr void*
sizeBytes long

Cmp(void*, void*, long)

bool Cmp(void* ptr1, void* ptr2, long sizeBytes)

Parameters

ptr1 void*
ptr2 void*
sizeBytes long

Returns

bool

Copy(void*, void*, long)

void Copy(void* dest, void* source, long sizeBytes)

Parameters

dest void*
source void*
sizeBytes long

Free(void*)

void Free(void* ptr)

Parameters

ptr void*

Malloc(long, int)

void* Malloc(long size, int alignment = 4)

Parameters

size long
alignment int

Returns

void*