public class Zlib extends Object
| Constructor and Description |
|---|
Zlib(int compression) |
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
deflate(io.netty.buffer.ByteBuf buffer) |
void |
deflate(io.netty.buffer.ByteBuf toCompress,
io.netty.buffer.ByteBuf into) |
io.netty.buffer.ByteBuf |
inflate(io.netty.buffer.ByteBuf buffer) |
public static final Zlib DEFAULT
public io.netty.buffer.ByteBuf inflate(io.netty.buffer.ByteBuf buffer)
throws DataFormatException
DataFormatExceptionpublic io.netty.buffer.ByteBuf deflate(io.netty.buffer.ByteBuf buffer)
throws DataFormatException
DataFormatExceptionpublic void deflate(io.netty.buffer.ByteBuf toCompress,
io.netty.buffer.ByteBuf into)
throws DataFormatException
DataFormatExceptionCopyright © 2018–2019 NukkitX. All rights reserved.