Skip to main content

BitWriter

Trait BitWriter 

Source
pub trait BitWriter {
    type Error;

    // Required method
    fn write(&mut self, bits: Bits) -> Result<(), Self::Error>;
}
Expand description

Trait to write data bitwise

The VecWriter struct is provided for convinience.

Required Associated Types§

Required Methods§

Source

fn write(&mut self, bits: Bits) -> Result<(), Self::Error>

Implementors§