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 Note : this prototype will be marked as deprecated and generate compilation warnings on reaching v1.5.x