Function brotli::enc::BrotliCompressCustomAlloc [] [src]

pub fn BrotliCompressCustomAlloc<InputType, OutputType, AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocI32: Allocator<i32>, AllocU32: Allocator<u32>, AllocCommand: Allocator<Command>, AllocF64: Allocator<f64>, AllocHL: Allocator<HistogramLiteral>, AllocHC: Allocator<HistogramCommand>, AllocHD: Allocator<HistogramDistance>, AllocHP: Allocator<HistogramPair>, AllocCT: Allocator<ContextType>, AllocHT: Allocator<HuffmanTree>>(
    r: &mut InputType,
    w: &mut OutputType,
    input_buffer: &mut [u8],
    output_buffer: &mut [u8],
    quality: u32,
    lgwin: u32,
    alloc_u8: AllocU8,
    alloc_u16: AllocU16,
    alloc_i32: AllocI32,
    alloc_u32: AllocU32,
    alloc_mc: AllocCommand,
    alloc_f64: AllocF64,
    alloc_hl: AllocHL,
    alloc_hc: AllocHC,
    alloc_hd: AllocHD,
    alloc_hp: AllocHP,
    alloc_ct: AllocCT,
    alloc_ht: AllocHT
) -> Result<usize, Error> where
    InputType: Read,
    OutputType: Write