Closed regular closed 9 years ago
The 2nd call to decompressBlock seems to produce garbage. Tested with a >5MB Linux kernel image (compressed size >2MB) I wrote a unit test for long streams and currently try to track down the problem.
The problem seems to be upstream in bzip2.js: https://github.com/regular/bzip2.js/blob/master/test/big.js
fixed in 1.0.4
The 2nd call to decompressBlock seems to produce garbage. Tested with a >5MB Linux kernel image (compressed size >2MB) I wrote a unit test for long streams and currently try to track down the problem.