Package net.md_5.bungee.jni.zlib

# Class JavaZlib

java.lang.Object
net.md_5.bungee.jni.zlib.JavaZlib

All Implemented Interfaces:
  `BungeeZlib`

public class JavaZlib extends Object implements BungeeZlib

- ## Field Summary

  ### Fields inherited from interface net.md_5.bungee.jni.zlib.BungeeZlib

  `OUTPUT_BUFFER_SIZE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JavaZlib()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `allowComposite()`
  `void`
  `free()`
  `void`
  `init(boolean compress, int level)`
  `void`
  `process(io.netty.buffer.ByteBuf in, io.netty.buffer.ByteBuf out)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### JavaZlib

    public JavaZlib()

- ## Method Details

  - ### init

    public void init(boolean compress, int level)
    Specified by:
      `init` in interface `BungeeZlib`

  - ### free

    public void free()
    Specified by:
      `free` in interface `BungeeZlib`

  - ### process

    public void process(io.netty.buffer.ByteBuf in, io.netty.buffer.ByteBuf out) throws DataFormatException
    Specified by:
      `process` in interface `BungeeZlib`
    Throws:
      `DataFormatException`

  - ### allowComposite

    public boolean allowComposite()
    Specified by:
      `allowComposite` in interface `BungeeZlib`