Function mupdf_sys::fz_deflate

source ·
pub unsafe extern "C" fn fz_deflate(
    ctx: *mut fz_context,
    dest: *mut c_uchar,
    compressed_length: *mut usize,
    source: *const c_uchar,
    source_length: usize,
    level: fz_deflate_level
)
Expand description

Compress source_length bytes of data starting at source, into a buffer of length *destLen, starting at dest. compressed_length will be updated on exit to contain the size actually used.