Class MemoryAllocation
- Namespace
- Netick
- Assembly
- Netick.dll
public static class MemoryAllocation
- Inheritance
-
MemoryAllocation
- Inherited Members
-
Methods
Clear(void*, long)
public static void Clear(void* ptr, long sizeBytes)
Parameters
ptr
void*
sizeBytes
long
Cmp(void*, void*, long)
public static bool Cmp(void* ptr1, void* ptr2, long sizeBytes)
Parameters
ptr1
void*
ptr2
void*
sizeBytes
long
Returns
- bool
Copy(void*, void*, long)
public static void Copy(void* dest, void* source, long sizeBytes)
Parameters
dest
void*
source
void*
sizeBytes
long
Free(void*)
public static void Free(void* ptr)
Parameters
ptr
void*
Malloc(long, int)
public static void* Malloc(long size, int alignment = 8)
Parameters
size
long
alignment
int
Returns
- void*