Function lzw::encode[][src]

pub fn encode<R, W>(r: R, w: W, min_code_size: u8) -> Result<()> where
    R: Read,
    W: BitWriter
Expand description

Convenience function that reads and compresses all bytes from R.