public class NativeZlib extends Object implements BungeeZlib
Constructor and Description |
---|
NativeZlib() |
Modifier and Type | Method and Description |
---|---|
void |
free() |
void |
init(boolean compress,
int level) |
void |
process(io.netty.buffer.ByteBuf in,
io.netty.buffer.ByteBuf out) |
public void init(boolean compress, int level)
init
in interface BungeeZlib
public void free()
free
in interface BungeeZlib
public void process(io.netty.buffer.ByteBuf in, io.netty.buffer.ByteBuf out) throws DataFormatException
process
in interface BungeeZlib
DataFormatException
Copyright © 2021. All rights reserved.