brotli::encFunction BrotliCompressCustomIoCustomDict
source pub fn BrotliCompressCustomIoCustomDict<ErrType, InputType, OutputType, Alloc: BrotliAlloc, MetablockCallback: FnMut(&mut PredictionModeContextMap<InputReferenceMut<'_>>, &mut [StaticCommand], InputPair<'_>, &mut Alloc)>(
r: &mut InputType,
w: &mut OutputType,
input_buffer: &mut [u8],
output_buffer: &mut [u8],
params: &BrotliEncoderParams,
alloc: Alloc,
metablock_callback: &mut MetablockCallback,
dict: &[u8],
unexpected_eof_error_constant: ErrType,
) -> Result<usize, ErrType>