Function BZ2_bzDecompressInit

Source
pub unsafe extern "C" fn BZ2_bzDecompressInit(
    strm: *mut bz_stream,
    verbosity: c_int,
    small: c_int,
) -> c_int
Expand description

Prepares the stream for decompression.

§Returns

§Safety

The caller must guarantee that

  • Either
    • strm is NULL
    • strm satisfies the requirements of &mut *strm
  • The bzalloc, bzfree and opaque fields form a valid allocator.