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

gunzip

Asynchronously expands GZIP data

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

Asynchronously expands GZIP data

§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

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

Asynchronously expands GZIP data

§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