Uses pureCalloc to allocate a block of memory of the given size and trows an outOfMemoryError if the memory cannot be allocated.
t { ubyte[] bytes = cast(ubyte[])xcalloc(12, 1); assert(bytes.length == 12); int[] ints = cast(int[])xcalloc(3, 4); assert(ints.length == 3)
See Implementation
Uses pureCalloc to allocate a block of memory of the given size and trows an outOfMemoryError if the memory cannot be allocated.