Reputation: 402
Are there any javascript libraries that can take a byte array and bz2 decompress it into another byte array? I know that many browsers have this capability for an entire stream, but this array is at an offset from the start of the stream.
Upvotes: 0
Views: 7118
Reputation: 14304
Yes. Here's ont for byte array: https://github.com/antimatter15/bzip2.js And for binary strings: https://github.com/kirilloid/bzip2-js
Upvotes: 5