brotli::enc::backward_references

Function BrotliCreateBackwardReferences

source
pub fn BrotliCreateBackwardReferences<Alloc: Allocator<u16> + Allocator<u32> + Allocator<u64> + Allocator<floatX> + Allocator<ZopfliNode>>(
    alloc: &mut Alloc,
    dictionary: &BrotliDictionary,
    num_bytes: usize,
    position: usize,
    ringbuffer: &[u8],
    ringbuffer_mask: usize,
    params: &BrotliEncoderParams,
    hasher_union: &mut UnionHasher<Alloc>,
    dist_cache: &mut [i32],
    last_insert_len: &mut usize,
    commands: &mut [Command],
    num_commands: &mut usize,
    num_literals: &mut usize,
)