libz_rs_sys

Function inflateEnd

Source
#[export_name = "inflateEnd"]
pub unsafe extern "C-unwind" fn inflateEnd(strm: *mut z_stream) -> i32
Expand description

Deallocates all dynamically allocated data structures for this stream.

This function discards any unprocessed input and does not flush any pending output.

§Returns

§Safety

  • Either
    • strm is NULL
    • strm satisfies the requirements of &mut *strm and was initialized with inflateInit_ or similar