Trait redux::bitio::BitWrite [] [src]

pub trait BitWrite {
    fn write_bits(&mut self, symbol: usize, bits: usize) -> Result<()>;
    fn flush_bits(&mut self) -> Result<()>;
}

A trait for object that allows writing symbols of variable bit lengths.

Required Methods

Writes a single symbol to the output.

Flushes all remaining bits to the output after the last whole octet, padded with zero bits.

Implementors