zstd-napi - v0.0.11
    Preparing search index...

    Function getDictIDFromDict

    • Returns the dictionary ID stored in the provided dictionary.

      Wraps ZSTD_getDictID_fromDict.

      Parameters

      • dictBuf: Uint8Array

        Buffer containing the dictionary

      Returns number

      The dictionary ID, or 0 if the buffer does not contain a dictionary