BeginFile Event
Fired before a file is processed.
Syntax
gzip.on('BeginFile', [callback])
Callback
The 'callback' is called when the 'BeginFile' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.index e.skip
Remarks
BeginFile is fired before compression or decompression begins. Index will contain 0.
You may use the Skip parameter to tell the class to skip the file when appending or decompressing.