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