Function mupdf_sys::fz_write_zip_entry
source · pub unsafe extern "C" fn fz_write_zip_entry(
ctx: *mut fz_context,
zip: *mut fz_zip_writer,
name: *const c_char,
buf: *mut fz_buffer,
compress: c_int
)
Expand description
Given a buffer of data, (optionally) compress it, and add it to the zip file with the given name.