An appendable sequence of bits (0s and 1s). Mainly used by QrSegment.
Appends the specified number of low-order bits of the specified value to this buffer. Requires 0 ≤ len ≤ 31 and 0 ≤ val < 2len.
Appends the content of the specified bit buffer to this buffer.
Returns the length of this sequence, which is a non-negative value.
Returns a new copy of this buffer.
Returns the bit at the specified index, yielding 0 or 1.