[][src]Function zstd_safe::get_dict_id_from_ddict

pub fn get_dict_id_from_ddict(ddict: &DDict) -> u32

ZSTD_getDictID_fromDDict()

Provides the dictID of the dictionary loaded into ddict.

If @return == 0, the dictionary is not conformant to Zstandard specification, or empty.

Non-conformant dictionaries can still be loaded, but as content-only dictionaries.