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.
Parameters
Section titled “Parameters”Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>
Returns
Section titled “Returns”Buffer