ZLIB Decompression - Client Side

后端 未结 8 845
孤街浪徒
孤街浪徒 2020-12-05 01:29

I am receiving data as an \"ZLIB\" compressed inputstream.

Using Javascript/Ajax/JQuery, I need to uncompress it on the client side.

Is the

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-05 01:34

    Try pako https://github.com/nodeca/pako , it's not just inflate/deflate, but exact zlib port to javascript, with almost all features and options supported. Also, it's the fastest implementation in modern browsers.

提交回复
热议问题