writeBitStream method
Reads a BitStream object from the stream of length bytes
and bits
Implementation
void writeBitStream(BitStream input, {int bytes = 0, int bits = 0}) {
writeBytes(input.readBytes(bytes: bytes, bits: bits),
bytes: bytes, bits: bits);
}