示例#1
0
 public static string DecompressString(byte[] data)
 {
     byte[] tmp = GZipUtil.Decompress(data, 0, (int)data.Length);
     return(Encoding.UTF8.GetString(tmp));
 }
示例#2
0
 public static byte[] Decompress(byte[] data)
 {
     return(GZipUtil.Decompress(data, 0, (int)data.Length));
 }