ZSTD_getDictID_fromCDict method

int ZSTD_getDictID_fromCDict(
  1. Pointer<ZSTD_CDict> cdict
)

! ZSTD_getDictID_fromCDict() : Requires v1.5.0+ Provides the dictID of the dictionary loaded into cdict. 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.

Implementation

int ZSTD_getDictID_fromCDict(
    ffi.Pointer<ZSTD_CDict> cdict,
    ) {
  return _ZSTD_getDictID_fromCDict(
    cdict,
  );
}