createZstdDecompressTransform
createZstdDecompressTransform(
maxOutputSize?):Transform
Defined in: node.d.ts:28
Create a Node.js stream.Transform for zstd decompression.
Uses Node.js stream.Transform to provide chunked decompression compatible
with stream.pipeline() and pipe-based workflows.
The transform emits an error if the input ends before the compressed stream does, including empty input.
Output chunks hold at most readableHighWaterMark bytes (64 KiB by
default, 16 KiB on Windows).
Parameters
Section titled “Parameters”maxOutputSize?
Section titled “maxOutputSize?”number
Maximum decompressed output size in bytes. Default is 256 MB.
Returns
Section titled “Returns”Transform