pub fn BrotliCompressCustomAlloc<InputType, OutputType, AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocI32: Allocator<i32>, AllocU32: Allocator<u32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocF64: Allocator<floatX>, AllocFV: Allocator<Mem256f>, AllocPDF: Allocator<PDF>, AllocStaticCommand: Allocator<StaticCommand>, AllocHL: Allocator<HistogramLiteral>, AllocHC: Allocator<HistogramCommand>, AllocHD: Allocator<HistogramDistance>, AllocHP: Allocator<HistogramPair>, AllocCT: Allocator<ContextType>, AllocHT: Allocator<HuffmanTree>, AllocZN: Allocator<ZopfliNode>>(
r: &mut InputType,
w: &mut OutputType,
input_buffer: &mut [u8],
output_buffer: &mut [u8],
params: &BrotliEncoderParams,
alloc_u8: AllocU8,
alloc_u16: AllocU16,
alloc_i32: AllocI32,
alloc_u32: AllocU32,
alloc_u64: AllocU64,
alloc_mc: AllocCommand,
alloc_f64: AllocF64,
alloc_fv: AllocFV,
alloc_pdf: AllocPDF,
alloc_sc: AllocStaticCommand,
alloc_hl: AllocHL,
alloc_hc: AllocHC,
alloc_hd: AllocHD,
alloc_hp: AllocHP,
alloc_ct: AllocCT,
alloc_ht: AllocHT,
alloc_zn: AllocZN
) -> Result<usize, Error> where
InputType: Read,
OutputType: Write,