Function compress_stream_decoder_alloc
Source pub unsafe extern "C" fn compress_stream_decoder_alloc(
type_: CompressType,
config: *const c_void,
read_cb: CompressIoCallback,
read_context: *mut c_void,
) -> *mut CompressStreamDecoder
Expand description
Allocate stream decoder
§Arguments
type - Compression type
config (direction in) - Configuration for compression, specific to type
read_cb - The read callback for input (compressed) data
read_context - The read context
§Returns
CompressStreamDecoder instance