Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

inflate

Asynchronously expands DEFLATE data with no wrapper

function inflate(
data: Uint8Array,
): AsyncTerminable;
function inflate(data: Uint8Array, cb: FlateCallback): AsyncTerminable;
§
inflate(data: Uint8Array, opts: AsyncInflateOptions, cb: FlateCallback): AsyncTerminable
[src]

Asynchronously expands DEFLATE data with no wrapper

§Parameters

§
data: Uint8Array
[src]

The data to decompress

§

The decompression options

§

The function to be called upon decompression completion

§Return Type

§

A function that can be used to immediately terminate the decompression

§
inflate(data: Uint8Array, cb: FlateCallback): AsyncTerminable
[src]

Asynchronously expands DEFLATE data with no wrapper

§Parameters

§
data: Uint8Array
[src]

The data to decompress

§

The function to be called upon decompression completion

§Return Type

§

A function that can be used to immediately terminate the decompression