[][src]Function lzw::encode

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

Convenience function that reads and compresses all bytes from R.