Function brotli::enc::encode::encoder_compress

source ยท
pub(crate) fn encoder_compress<Alloc: BrotliAlloc, MetablockCallback: FnMut(&mut PredictionModeContextMap<InputReferenceMut<'_>>, &mut [StaticCommand], InputPair<'_>, &mut Alloc)>(
    empty_m8: Alloc,
    m8: &mut Alloc,
    quality: i32,
    lgwin: i32,
    mode: BrotliEncoderMode,
    input_size: usize,
    input_buffer: &[u8],
    encoded_size: &mut usize,
    encoded_buffer: &mut [u8],
    metablock_callback: &mut MetablockCallback,
) -> bool