browserify-zlib icon indicating copy to clipboard operation
browserify-zlib copied to clipboard

fails to decompress files created with `bgzip`

Open rbuels opened this issue 7 years ago • 2 comments

Some files created with bgzip cannot be decompressed, or at least not with the same options as node's native zlib.

rbuels avatar Sep 04 '18 14:09 rbuels

#35 demonstrates this. The test passes if you change the zlib import to native.

rbuels avatar Sep 04 '18 14:09 rbuels

Interestingly, it's possible to decompress these files using pako directly, https://github.com/nodeca/pako/pull/146 demonstrates a way that works.

rbuels avatar Sep 04 '18 14:09 rbuels