Writes a sequence of bits (Most significant bits first).
void WriteBit(bool Bit)
Writes a bit to the output.
void Pad(int MaxLength, params byte[] PaddingBytes)
Pads the output with padding bytes.
byte[] ToArray()
Returns a byte-array of serialized bits.
BitWriter()
Writes a sequence of bits (Most significant bits first).
void WriteBits(uint Value, int NrBits)
Writes several bits to the output stream.
int TotalBits
Total number of bits written.
void Flush()
Flushes any remaining bits to the output.