Skip to content

zstdDecompress

zstdDecompress(data): Buffer

Defined in: index.d.ts:1701

Decompress Zstandard-compressed data.

Returns the decompressed data as a Buffer. The input may hold several concatenated frames, including skippable frames. The maximum decompressed size is 256 MB. Use zstdDecompressWithCapacity for larger data.

Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>

Buffer