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

unzlib

Asynchronously expands Zlib data

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

Asynchronously expands Zlib 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

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

Asynchronously expands Zlib 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