类 GZipUtil
- java.lang.Object
-
- xin.alum.aio.util.GZipUtil
-
public class GZipUtil extends Object
解压缩工具类- 作者:
- alum 20160827
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classGZipUtil.GZip压缩方式
-
构造器概要
构造器 构造器 说明 GZipUtil()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 byte[]gzip(GZipUtil.GZip zip, byte[] in)Stringgzip(GZipUtil.GZip zip, String text)byte[]ungzip(GZipUtil.GZip zip, byte[] in)io.netty.buffer.ByteBufungzip(GZipUtil.GZip gZip, io.netty.buffer.ByteBuf in)Proto对象GZip解压Stringungzip(GZipUtil.GZip zip, String text)
-
-
-
方法详细资料
-
gzip
public String gzip(GZipUtil.GZip zip, String text)
- 参数:
zip-text-- 返回:
-
ungzip
public String ungzip(GZipUtil.GZip zip, String text)
- 参数:
zip-text-- 返回:
-
gzip
public byte[] gzip(GZipUtil.GZip zip, byte[] in)
- 参数:
zip-in-- 返回:
-
ungzip
public byte[] ungzip(GZipUtil.GZip zip, byte[] in)
- 参数:
zip-in-- 返回:
-
ungzip
public io.netty.buffer.ByteBuf ungzip(GZipUtil.GZip gZip, io.netty.buffer.ByteBuf in)
Proto对象GZip解压- 参数:
in-- 返回:
-
-