public class SnappyCompression extends Object implements CompressionSerializer
| Modifier and Type | Field and Description |
|---|---|
static SnappyCompression |
INSTANCE |
| Constructor and Description |
|---|
SnappyCompression() |
| Modifier and Type | Method and Description |
|---|---|
void |
compress(ByteBuf input,
ByteBuf output,
int level) |
void |
decompress(ByteBuf input,
ByteBuf output,
int maxSize) |
public static final SnappyCompression INSTANCE
public void compress(ByteBuf input, ByteBuf output, int level)
compress in interface CompressionSerializerpublic void decompress(ByteBuf input, ByteBuf output, int maxSize)
decompress in interface CompressionSerializerCopyright © 2018–2022 NukkitX. All rights reserved.