Function brotli::enc::brotli_bit_stream::BrotliStoreMetaBlock
source ยท pub fn BrotliStoreMetaBlock<Alloc: BrotliAlloc, Cb>(
alloc: &mut Alloc,
input: &[u8],
start_pos: usize,
length: usize,
mask: usize,
prev_byte: u8,
prev_byte2: u8,
is_last: i32,
params: &BrotliEncoderParams,
literal_context_mode: ContextType,
distance_cache: &[i32; 4],
commands: &[Command],
n_commands: usize,
mb: &mut MetaBlockSplit<Alloc>,
recoder_state: &mut RecoderState,
storage_ix: &mut usize,
storage: &mut [u8],
callback: &mut Cb,
)where
Cb: FnMut(&mut PredictionModeContextMap<InputReferenceMut<'_>>, &mut [StaticCommand], InputPair<'_>, &mut Alloc),
๐Deprecated: use store_meta_block instead