pub trait HuffmanCodec {
    fn build(&self, symbols: &[Symbol]) -> Result<Encoder>;
    fn save<W>(&self, writer: &mut BitWriter<W>, codec: &Encoder) -> Result<()>
    where
        W: Write
; fn load<R>(&self, reader: &mut BitReader<R>) -> Result<Decoder>
    where
        R: Read
; }

Required methods

Implementors