Collects bits into bytes.
Adds the lowest n bits of a number. This might result in a partial byte, so if this is the last write using this instance, make sure to call flush.
If there's an unfinished byte, writes it to the underlying vector.
Collects bits into bytes.