deflateDecompressWithCapacityAsync
deflateDecompressWithCapacityAsync(
data,capacity):Promise<Buffer<ArrayBufferLike>>
Defined in: index.d.ts:1431
Asynchronously decompress raw deflate-compressed data with explicit capacity.
Use this when the decompressed size exceeds the default 256 MB limit.
The capacity parameter specifies the maximum decompressed size in bytes.
Rejects if the input ends before the final deflate block.
Parameters
Section titled “Parameters”Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>
capacity
Section titled “capacity”number
Returns
Section titled “Returns”Promise<Buffer<ArrayBufferLike>>