zstd_safe

Function get_dict_id_from_dict

source
pub fn get_dict_id_from_dict(dict: &[u8]) -> Option<NonZeroU32>
Expand description

Wraps the ZSTD_getDictID_fromDict() function.

Returns None if the dictionary is not a valid zstd dictionary.