brotliDecompressWithCapacity
brotliDecompressWithCapacity(
data,capacity):Buffer
Defined in: index.d.ts:1245
Decompress Brotli-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.
Parameters
Section titled “Parameters”Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>
capacity
Section titled “capacity”number
Returns
Section titled “Returns”Buffer