Skip to content

Commit

Permalink
fix: verbose output should output the total data from sizes, not the …
Browse files Browse the repository at this point in the history
…total size of the file
  • Loading branch information
meszaros-lajos-gyorgy committed Dec 20, 2024
1 parent 141ee7b commit 662ed71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/header-size.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if (args.verbose) {
console.log('file is fully compressed');
break;
case 'partial':
console.log(`total uncompressed data in bytes: ${buffer.length} (${toHex(buffer.length)})`);
console.log(`total uncompressed data in bytes: ${sizes.total} (${toHex(sizes.total)})`);
console.log(``);
console.log(`header size: ${sizes.header} (${toHex(sizes.header)})`);
console.log(`unique header size: ${sizes.uniqueHeaderSize} (${toHex(sizes.uniqueHeaderSize)})`);
Expand Down

0 comments on commit 662ed71

Please sign in to comment.