Whether the reallocation was successful.
void[] p; assert(Mallocator.instance.reallocate(p, 20)); assert(p.length == 20); assert(Mallocator.instance.reallocate(p, 30)); assert(p.length == 30); assert(Mallocator.instance.reallocate(p, 10)); assert(p.length == 10); assert(Mallocator.instance.reallocate(p, 0)); assert(p is null);
Increases or decreases the size of a memory block.