1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-03 17:49:16 +02:00

Track number of compressed bytes read in while unarchiving and reporting progress

This commit is contained in:
codedread 2018-01-26 00:12:58 -08:00
parent 8c630c170c
commit 23e3921072
4 changed files with 13 additions and 4 deletions

View file

@ -52,7 +52,9 @@ const postProgress = function() {
currentBytesUnarchivedInFile,
currentBytesUnarchived,
totalUncompressedBytesInArchive,
totalFilesInArchive));
totalFilesInArchive,
bytestream.getNumBytesRead(),
));
};
const zLocalFileHeaderSignature = 0x04034b50;