//先载入pakovarbinaryString=pako.deflate(yourtext,{to:'string'});//压varrestored=pako.inflate(binaryString,{to:'string'});//解java端可以给用deflate算法