ZSTD_getDictID_fromDict method
! ZSTD_getDictID_fromDict() : Requires v1.4.0+ 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.
Implementation
int ZSTD_getDictID_fromDict(
  ffi.Pointer<ffi.Void> dict,
  int dictSize,
) {
  return _ZSTD_getDictID_fromDict(
    dict,
    dictSize,
  );
}