BitWriter.alignBytes

bool alignBytes(ubyte trailingBit)

Write trailing bit to align last byte of data. trailing_bit can only be 1 or 0.

Parameters

trailingBittrailing bits of last byte, 0 or 1

Returns

true if successful, false otherwise.