Skip to main content

unlzw

Function unlzw 

Source
pub fn unlzw(data: &[u8], expected: usize) -> Result<Vec<u8>>
Expand description

Unix compress (LZW, 1f 9d), as the Creo sections use it: codes of 9 to maxbits bits, little-endian bit packing, the code width grows in groups of eight codes (the rest of a group is skipped on a width change).