Class CompressionUtil

java.lang.Object
io.netty.handler.codec.compression.CompressionUtil

final class CompressionUtil extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final int
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static void
    checkChecksum(ByteBufChecksum checksum, ByteBuf uncompressed, int currentChecksum)
     
    (package private) static java.nio.ByteBuffer
    safeNioBuffer(ByteBuf buffer, int index, int length)
     
    (package private) static java.nio.ByteBuffer
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT_MAX_FORWARD_BYTES

      static final int DEFAULT_MAX_FORWARD_BYTES
  • Constructor Details

    • CompressionUtil

      private CompressionUtil()
  • Method Details

    • checkChecksum

      static void checkChecksum(ByteBufChecksum checksum, ByteBuf uncompressed, int currentChecksum)
    • safeReadableNioBuffer

      static java.nio.ByteBuffer safeReadableNioBuffer(ByteBuf buffer)
    • safeNioBuffer

      static java.nio.ByteBuffer safeNioBuffer(ByteBuf buffer, int index, int length)