BitWriter.write

bool write(uint value, int n) nothrow @safe

Write n bits to the output.

Parameters

valueBits to write.
nNumber of bits.

Returns

true if successful, false if buffer full.