Function brotli::enc::brotli_bit_stream::store_meta_block_trivial
source ยท pub(crate) fn store_meta_block_trivial<Alloc: BrotliAlloc, Cb>(
alloc: &mut Alloc,
input: &[u8],
start_pos: usize,
length: usize,
mask: usize,
is_last: bool,
params: &BrotliEncoderParams,
distance_cache: &[i32; 4],
commands: &[Command],
n_commands: usize,
recoder_state: &mut RecoderState,
storage_ix: &mut usize,
storage: &mut [u8],
f: &mut Cb,
)where
Cb: FnMut(&mut PredictionModeContextMap<InputReferenceMut<'_>>, &mut [StaticCommand], InputPair<'_>, &mut Alloc),