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

    Function decompress

    • Decompress Zstandard-compressed data.

      Under the hood, this uses a shared, lazily-initialized Decompressor, which minimizes overhead. If you need dictionary support, create your own instance of that class.

      Parameters

      • data: Uint8Array

        Buffer containing compressed data

      • parameters: DecompressParameters = {}

        Optional decompression parameters

      Returns Buffer

      Decompressed data