Allocates memory with a given alignment.
Frees aligned memory.
Reallocates memory with a given alignment.
Reallocates memory with a given alignment.
Gets the amount of bytes to allocate when requesting a specific amount of memory with a given alignment.
Creates a shallow duplicate of the given buffer.
Frees a slice.
Creates a shallow immutable duplicate of the given buffer.
Gets whether 2 memory ranges are overlapping.
Allocates enough memory to contain Type T.
Allocates and initializes a new slice.
Realigns ptr to the next increment of alignment
Calls the release function of reference counted type T.
Resizes a slice to be of the given size and alignment. If the slice is not yet allocated, it will be.
Gets the retain function for type T and calls it.
Gets the storage space used by object.
Swaps around 2 values of the same type.
Appends a null terminator at the end of the string, resizes the memory allocation if need be.
System pointer size.
Additional Memory Handling.
Functions that build on the numem hooks to implement higher level memory managment functionality.