Function zstd_sys::ZSTD_initDStream_usingDDict

source ยท
pub unsafe extern "C" fn ZSTD_initDStream_usingDDict(
    zds: *mut ZSTD_DStream,
    ddict: *const ZSTD_DDict,
) -> usize
Expand description

This function is deprecated, and is equivalent to:

ZSTD_DCtx_reset(zds, ZSTD_reset_session_only);
ZSTD_DCtx_refDDict(zds, ddict);

note : ddict is referenced, it must outlive decompression session