Function zstd_safe::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.