Function BZ2_bzWrite

Source
#[export_name = "BZ2_bzWrite"]
pub unsafe extern "C" fn BZ2_bzWrite(
    bzerror: *mut c_int,
    b: *mut BZFILE,
    buf: *const c_void,
    len: c_int,
)
Expand description

Absorbs len bytes from the buffer buf, eventually to be compressed and written to the file.

§Returns

§Possible assignments to bzerror

§Safety

The caller must guarantee that