Package net.md_5.bungee.jni.zlib
Class JavaZlib
java.lang.Object
net.md_5.bungee.jni.zlib.JavaZlib
- All Implemented Interfaces:
BungeeZlib
-
Field Summary
Fields inherited from interface net.md_5.bungee.jni.zlib.BungeeZlib
OUTPUT_BUFFER_SIZE -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JavaZlib
public JavaZlib()
-
-
Method Details
-
init
public void init(boolean compress, int level) - Specified by:
initin interfaceBungeeZlib
-
free
public void free()- Specified by:
freein interfaceBungeeZlib
-
process
public void process(io.netty.buffer.ByteBuf in, io.netty.buffer.ByteBuf out) throws DataFormatException - Specified by:
processin interfaceBungeeZlib- Throws:
DataFormatException
-
allowComposite
public boolean allowComposite()- Specified by:
allowCompositein interfaceBungeeZlib
-