Class IntegerCompressor


  • public class IntegerCompressor
    extends java.lang.Object
    Utility for bytewise compressing of integers into a ByteBuffer.
    Author:
    baldersheim
    • Constructor Detail

      • IntegerCompressor

        public IntegerCompressor()
    • Method Detail

      • putCompressedNumber

        public static void putCompressedNumber​(int n,
                                               java.nio.ByteBuffer buf)
      • putCompressedPositiveNumber

        public static void putCompressedPositiveNumber​(int n,
                                                       java.nio.ByteBuffer buf)