[][src]Function zstd_safe::get_dict_id_from_dict

pub fn get_dict_id_from_dict(dict: &[u8]) -> u32

ZSTD_getDictID_fromDict()

Provides the dictID stored within dictionary.

if @return == 0, the dictionary is not conformant with Zstandard specification.

It can still be loaded, but as a content-only dictionary.