Function zstd_sys::ZSTD_initDStream

source ·
pub unsafe extern "C" fn ZSTD_initDStream(
    zds: *mut ZSTD_DStream
) -> usize
Expand description

ZSTD_initDStream() : Initialize/reset DStream state for new decompression operation. Call before new decompression operation using same DStream.

Note : This function is redundant with the advanced API and equivalent to: ZSTD_DCtx_reset(zds, ZSTD_reset_session_only); ZSTD_DCtx_refDDict(zds, NULL);