AsyncDecompress
Asynchronous streaming GZIP, Zlib, or raw DEFLATE decompression
class AsyncDecompress { }
constructor(cb?: AsyncFlateStreamHandler);
private G;
private i;
private I;
private Z;
ondata: AsyncFlateStreamHandler;
ondrain?: AsyncFlateDrainHandler;
queuedSize: number;
push(chunk: Uint8Array, final?: boolean): void;
§Constructors
§
Creates an asynchronous decompression stream
@param opts
The decompression options
@param cb
The callback to call whenever data is decompressed
§
new AsyncDecompress(cb?: AsyncFlateStreamHandler)
[src]Creates an asynchronous decompression stream
@param cb
The callback to call whenever data is decompressed
§Properties
§
ondata: AsyncFlateStreamHandler
[src]The handler to call whenever data is available
§
ondrain: AsyncFlateDrainHandler
[src]The handler to call whenever buffered source data is processed (i.e. queuedSize
updates)