Function brotli::enc::BrotliCompressCustomIo [] [src]

pub fn BrotliCompressCustomIo<ErrType, 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>, AllocHL: Allocator<HistogramLiteral>, AllocHC: Allocator<HistogramCommand>, AllocHD: Allocator<HistogramDistance>, AllocHP: Allocator<HistogramPair>, AllocCT: Allocator<ContextType>, AllocHT: Allocator<HuffmanTree>, AllocZN: Allocator<ZopfliNode>, MetablockCallback: FnMut(&[Command<InputReference>])>(
    r: &mut InputType,
    w: &mut OutputType,
    input_buffer: &mut [u8],
    output_buffer: &mut [u8],
    params: &BrotliEncoderParams,
    mu8: AllocU8,
    mu16: AllocU16,
    mi32: AllocI32,
    mu32: AllocU32,
    m64: AllocU64,
    mc: AllocCommand,
    mf64: AllocF64,
    mfv: AllocFV,
    mhl: AllocHL,
    mhc: AllocHC,
    mhd: AllocHD,
    mhp: AllocHP,
    mct: AllocCT,
    mht: AllocHT,
    mzn: AllocZN,
    metablock_callback: &mut MetablockCallback,
    unexpected_eof_error_constant: ErrType
) -> Result<usize, ErrType> where
    InputType: CustomRead<ErrType>,
    OutputType: CustomWrite<ErrType>,