JavaScript中的bz2 [英] bz2 in javascript
本文介绍了JavaScript中的bz2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有可以带字节数组并将bz2解压缩为另一个字节数组的javascript库?我知道许多浏览器都对整个流都具有此功能,但是此数组与流的开头有一定偏移。
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.
推荐答案
<是的。字节数组的介绍如下: https://github.com/antimatter15/bzip2.js
对于二进制字符串: https://github.com/kirilloid/bzip2-js
这篇关于JavaScript中的bz2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文