#[export_name = "inflateEnd"]
pub unsafe extern "C-unwind" fn inflateEnd(strm: *mut z_stream) -> i32Expand description
Deallocates all dynamically allocated data structures for this stream.
This function discards any unprocessed input and does not flush any pending output.
§Returns
Z_OKif successZ_STREAM_ERRORif the stream state was inconsistent
§Safety
- Either
strmisNULLstrmsatisfies the requirements of&mut *strmand was initialized withinflateInit_or similar