public interface CompressionSerializer
| Modifier and Type | Method and Description |
|---|---|
void |
compress(ByteBuf input,
ByteBuf output,
int level) |
void |
decompress(ByteBuf input,
ByteBuf output,
int maxSize) |
void compress(ByteBuf input, ByteBuf output, int level) throws DataFormatException
DataFormatExceptionvoid decompress(ByteBuf input, ByteBuf output, int maxSize) throws DataFormatException
DataFormatExceptionCopyright © 2018–2022 NukkitX. All rights reserved.