Function: inflate()

May 16, 2026 ยท View on GitHub

fflate


Function: inflate()

Call Signature

inflate(data: Uint8Array, opts: AsyncInflateOptions, cb: FlateCallback): AsyncTerminable

Asynchronously expands DEFLATE data with no wrapper

Parameters

data

Uint8Array

The data to decompress

opts

AsyncInflateOptions

The decompression options

cb

FlateCallback

The function to be called upon decompression completion

Returns

AsyncTerminable

A function that can be used to immediately terminate the decompression

Call Signature

inflate(data: Uint8Array, cb: FlateCallback): AsyncTerminable

Asynchronously expands DEFLATE data with no wrapper

Parameters

data

Uint8Array

The data to decompress

cb

FlateCallback

The function to be called upon decompression completion

Returns

AsyncTerminable

A function that can be used to immediately terminate the decompression