bz2 in javascript

南楼画角 提交于 2020-01-12 11:53:42

问题


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.


回答1:


Yes. Here's ont for byte array: https://github.com/antimatter15/bzip2.js And for binary strings: https://github.com/kirilloid/bzip2-js



来源:https://stackoverflow.com/questions/9434613/bz2-in-javascript

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!