Function zstd_sys::ZSTD_initDStream_usingDict
source · [−]pub unsafe extern "C" fn ZSTD_initDStream_usingDict(
zds: *mut ZSTD_DStream,
dict: *const c_void,
dictSize: usize
) -> usize
Expand description
This function is deprecated, and is equivalent to:
ZSTD_DCtx_reset(zds, ZSTD_reset_session_only);
ZSTD_DCtx_loadDictionary(zds, dict, dictSize);
note: no dictionary will be used if dict == NULL or dictSize < 8 Note : this prototype will be marked as deprecated and generate compilation warnings on reaching v1.5.x