Class AsyncUnzipInflate
Implements
Index
Constructors
constructor
- new AsyncUnzipInflate(_: string, sz?: number): AsyncUnzipInflate
Creates a DEFLATE decompression that can be used in ZIP archives
Parameters
- _: string
Optional
sz: number
Returns AsyncUnzipInflate
Methods
push
- push(data: Uint8Array<ArrayBufferLike>, final: boolean): void
Pushes a chunk to be decompressed
Parameters
- data: Uint8Array<ArrayBufferLike>
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<ArrayBufferLike>
Asynchronous streaming DEFLATE decompression for ZIP archives