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

Inflate

Streaming DEFLATE decompression

class Inflate {
constructor(opts: InflateStreamOptions, cb?: FlateStreamHandler);
constructor(cb?: FlateStreamHandler);
private c;
private d;
private e;
private o;
private p;
private s;
 
push(chunk: Uint8Array, final?: boolean): void;
}

§Constructors

§

Creates a DEFLATE decompression stream

@param opts

The decompression options

@param cb

The callback to call whenever data is inflated

§
new Inflate(cb?: FlateStreamHandler)
[src]

Creates a DEFLATE decompression stream

@param cb

The callback to call whenever data is inflated

§Properties

§

The handler to call whenever data is available

§Methods

§
push(chunk: Uint8Array, final?: boolean): void
[src]

Pushes a chunk to be inflated

@param chunk

The chunk to push

@param final

Whether this is the final chunk