OutBuffer.alignSize
void alignSize(size_t alignsize, ubyte val = 0) pure nothrow @safeAppend bytes until the buffer aligns on a power of 2 boundary.
By default fills with 0 bytes.
Parameters
alignsize | Alignment value. Must be power of 2. |
val | Value to fill, defaults to 0. |