Interface UnzipDecoder
interface UnzipDecoder {
ondata: AsyncFlateStreamHandler;
terminate?: AsyncTerminable;
push(data: Uint8Array, final: boolean): void;
}
ondata: AsyncFlateStreamHandler;
terminate?: AsyncTerminable;
push(data: Uint8Array, final: boolean): void;
}
Implemented by
Index
Methods
Properties
Methods
push
- push(data, final): void
Pushes a chunk to be decompressed
Parameters
- data: Uint8Array
The data in this chunk. Do not consume (detach) this data.
- final: boolean
Whether this is the last chunk in the data stream
Returns void
- data: Uint8Array
A decoder for files in ZIP streams