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

UnzipDecoder

A decoder for files in ZIP streams

interface UnzipDecoder {
terminate?: AsyncTerminable;
push(data: Uint8Array, final: boolean): void;
}

§Properties

§

The handler to call whenever data is available

§

A method to terminate any internal workers used by the stream. Subsequent calls to push() should silently fail.

§Methods

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

Pushes a chunk to be decompressed

@param data

The data in this chunk. Do not consume (detach) this data.

@param final

Whether this is the last chunk in the data stream