#[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
Z_OK
if successZ_STREAM_ERROR
if the stream state was inconsistent
§Safety
- Either
strm
isNULL
strm
satisfies the requirements of&mut *strm
and was initialized withinflateInit_
or similar