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

decompress

Asynchrononously expands compressed GZIP, Zlib, or raw DEFLATE data, automatically detecting the format

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

Asynchrononously expands compressed GZIP, Zlib, or raw DEFLATE data, automatically detecting the format

§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

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

Asynchrononously expands compressed GZIP, Zlib, or raw DEFLATE data, automatically detecting the format

§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