Function brotli::enc::encode::BrotliEncoderCompressStream
source · pub fn BrotliEncoderCompressStream<Alloc: BrotliAlloc, MetablockCallback: FnMut(&mut PredictionModeContextMap<InputReferenceMut<'_>>, &mut [StaticCommand], InputPair<'_>, &mut Alloc)>(
s: &mut BrotliEncoderStateStruct<Alloc>,
op: BrotliEncoderOperation,
available_in: &mut usize,
next_in_array: &[u8],
next_in_offset: &mut usize,
available_out: &mut usize,
next_out_array: &mut [u8],
next_out_offset: &mut usize,
total_out: &mut Option<usize>,
metablock_callback: &mut MetablockCallback
) -> i32