Class CompressionUtil


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

      Constructors 
      Modifier Constructor Description
      private CompressionUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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)  
      (package private) static java.nio.ByteBuffer safeNioBuffer​(ByteBuf buffer, int index, int length)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompressionUtil

        private CompressionUtil()
    • Method Detail

      • checkChecksum

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

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

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