Allocates size bytes of memory.
Amount of memory to allocate.
The pointer to the new allocated memory.
auto p = Mallocator.instance.allocate(20); assert(p.length == 20); Mallocator.instance.deallocate(p); p = Mallocator.instance.allocate(0); assert(p.length == 0);
See Implementation
Allocates size bytes of memory.