public class Zlib extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
deflate(ByteBuf uncompressed,
ByteBuf compressed,
int level) |
ByteBuf |
inflate(ByteBuf buffer,
int maxSize) |
public ByteBuf inflate(ByteBuf buffer, int maxSize) throws DataFormatException
DataFormatExceptionpublic void deflate(ByteBuf uncompressed, ByteBuf compressed, int level) throws DataFormatException
DataFormatExceptionCopyright © 2018–2022 CloudburstMC. All rights reserved.