HmodBlockAllocator.allocate

Standard allocator operation.

Returns null if bytes > blockSize.

struct HmodBlockAllocator(size_t blockSize)
nothrow @trusted
void[]
allocate
(
size_t bytes
)
out (result) { assert (result is null || result.length == bytes, format!"Allocated %d bytes when %d bytes were requested."(result.length, bytes)); }

Meta