Class Gunzip
Index
Constructors
constructor
- new
Gunzip (opts, cb?): Gunzip Creates a GUNZIP stream
Parameters
- opts: GunzipStreamOptions
The decompression options
Optional
cb: FlateStreamHandlerThe callback to call whenever data is inflated
Returns Gunzip
- opts: GunzipStreamOptions
- new
Gunzip (cb?): Gunzip Creates a GUNZIP stream
Parameters
Optional
cb: FlateStreamHandlerThe callback to call whenever data is inflated
Returns Gunzip
Methods
push
- push(chunk, final?): void
Pushes a chunk to be GUNZIPped
Parameters
- chunk: Uint8Array
The chunk to push
Optional
final: booleanWhether this is the last chunk
Returns void
- chunk: Uint8Array
Streaming single or multi-member GZIP decompression