BitWriter.alignBytes

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

class BitWriter
bool
alignBytes
()

Parameters

trailingBit ubyte

trailing bits of last byte, 0 or 1

Return Value

Type: bool

TRUE if successful, FALSE otherwise.