Function miniz_oxide::inflate::core::decode_huffman_code

source ·
fn decode_huffman_code<F>(
    r: &mut DecompressorOxide,
    l: &mut LocalVars,
    table: usize,
    flags: u32,
    in_iter: &mut Iter<'_, u8>,
    f: F,
) -> Action
where F: FnOnce(&mut DecompressorOxide, &mut LocalVars, i32) -> Action,
Expand description

Try to decode the next huffman code, and puts it in the counter field of the decompressor if successful.

§Returns

The specified action returned from f on success, Action::End if there are not enough data left to decode a symbol.