Interface PacketCompression

All Known Implementing Classes:
ZlibCompression

public interface PacketCompression
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    deflate(io.netty.buffer.ByteBuf source, io.netty.buffer.ByteBuf destination)
     
    void
    inflate(io.netty.buffer.ByteBuf source, io.netty.buffer.ByteBuf destination, int uncompressedSize)
     
  • Method Details

    • inflate

      void inflate(io.netty.buffer.ByteBuf source, io.netty.buffer.ByteBuf destination, int uncompressedSize) throws Exception
      Throws:
      Exception
    • deflate

      void deflate(io.netty.buffer.ByteBuf source, io.netty.buffer.ByteBuf destination)
    • close

      void close()