pub unsafe extern "C-unwind" fn inflateBackInit_(
strm: z_streamp,
windowBits: c_int,
window: *mut c_uchar,
version: *const c_char,
stream_size: c_int,
) -> c_intExpand description
Initializes the state for decompression
§Returns
Z_OKif successZ_MEM_ERRORif there was not enough memoryZ_VERSION_ERRORif the zlib library version is incompatible with the version assumed by the callerZ_STREAM_ERRORif a parameter is invalid, such as a null pointer to the structure
§Safety
The caller must guarantee that
- Either
strmisNULLstrmsatisfies the requirements of&mut *strm
- Either
versionis NULLversionsatisfies the requirements ofcore::ffi::CStr::from_ptr
- If
strmis notNULL, the following fields contain valid valueszalloczfreeopaque