fn writeBits(self: *Self, value: anytype, bits: usize) Error!void

Write the specified number of bits to the stream from the least significant bits of the specified unsigned int value. Bits will only be written to the stream when there are enough to fill a byte.

Parameters

self: *Self,
value: anytype,
bits: usize,