public class Zlib
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
deflate(io.netty.buffer.ByteBuf uncompressed,
io.netty.buffer.ByteBuf compressed,
int level) |
io.netty.buffer.ByteBuf |
inflate(io.netty.buffer.ByteBuf buffer,
int maxSize) |
public io.netty.buffer.ByteBuf inflate(io.netty.buffer.ByteBuf buffer,
int maxSize)
throws java.util.zip.DataFormatException
java.util.zip.DataFormatExceptionpublic void deflate(io.netty.buffer.ByteBuf uncompressed,
io.netty.buffer.ByteBuf compressed,
int level)
throws java.util.zip.DataFormatException
java.util.zip.DataFormatException