Memory.malloc0

Allocates n_bytes bytes of memory, initialized to 0's. If n_bytes is 0 it returns NULL.

class Memory
static
void*
malloc0

Parameters

nBytes gsize

the number of bytes to allocate

Return Value

Type: void*

a pointer to the allocated memory

Meta