Function huffman::decode_with_offset
[−]
[src]
pub fn decode_with_offset(input: &[u8], offset: u8, tree: &Tree, decompressed_size: usize) -> Vec<u8>
Decode the huffman-encoded input
using the Huffman tree
.
The decoding starts at input + offset
, where offset
is the number bits to skip (number between
0 and 8).
The decoding ends when decompressed_size
is reached.