Class CompressorUtils

    • Field Detail

      • HEADER_LENGTH

        public static final int HEADER_LENGTH
        We put two integers before each compressed block, the first integer represents the compressed length of the block, and the second one represents the original length of the block.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CompressorUtils

        public CompressorUtils()
    • Method Detail

      • writeIntLE

        public static void writeIntLE​(int i,
                                      byte[] buf,
                                      int offset)
      • readIntLE

        public static int readIntLE​(byte[] buf,
                                    int i)