pub fn decompress_internal<I>(
    compressed: I,
    bits_per_char: u8
) -> Option<Vec<u16>>
where I: Iterator<Item = u16>,
Expand description

The internal decompress function.

All other decompress functions are built on top of this one. It generally should not be used directly.

Errors

Returns an error if the compressed data could not be decompressed.

Panics

Panics if bits_per_char is greater than the number of bits in a u16.