cocoscreator1.4中使用zlib库,代码如下:
var zlib = require(‘zlib’);
模拟器报错:
Simulator: 1857:mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
安卓上黑屏,报错:
[[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
请问zlib不能使用么?还是有其他替代的压缩解压方案,我们进行websocket开发,需要对数据进行压缩解压。谢谢!