Class BitPacking


  • public class BitPacking
    extends Object
    • Constructor Detail

      • BitPacking

        public BitPacking()
    • Method Detail

      • packBits

        public static void packBits​(long value,
                                    int bits,
                                    byte[] buffer,
                                    int bufOffset,
                                    int bitOffset)
      • unpackBits

        public static void unpackBits​(long[] value,
                                      int index,
                                      int bits,
                                      byte[] buffer,
                                      int bufOffset,
                                      int bitOffset)