Attempts to allocate a memory block of size bytes.
If size == 0, the returned slice might have a null .ptr, but either way it can be safely deallocated.
The allocated memory block, or null on allocation failure.
Attempts to allocate a memory block of size bytes.
If size == 0, the returned slice might have a null .ptr, but either way it can be safely deallocated.