__allocPad

fnsize_t __allocPad(size_t size, uint bits) nothrow pure @trusted

get the padding required to allocate size bytes, use the bits to determine which metadata must be stored.