BeginFile Event
Fired before a file is processed.
Syntax
bzip2.on('BeginFile', listener: (e: {readonly index: number, skip: boolean}) => void )
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.