Gzip
Streaming GZIP compression
class Gzip { }
constructor(cb?: FlateStreamHandler);
private c;
private l;
private o;
private p;
private s;
private v;
ondata: FlateStreamHandler;
flush(): void;
push(chunk: Uint8Array, final?: boolean): void;
§Constructors
§
Creates a GZIP stream
@param opts
The compression options
@param cb
The callback to call whenever data is deflated
§
new Gzip(cb?: FlateStreamHandler)
[src]Creates a GZIP stream
@param cb
The callback to call whenever data is deflated
§Properties
§
ondata: FlateStreamHandler
[src]The handler to call whenever data is available