Class LongDecode


  • public final class LongDecode
    extends Object
    • Method Detail

      • decodeBitWidth

        public static int decodeBitWidth​(int n)
        Decodes the ordinal fixed bit value to actual fixed bit width value.
      • getClosestFixedBits

        public static int getClosestFixedBits​(int width)
        Gets the closest supported fixed bit width for the specified bit width.
      • zigzagDecode

        public static long zigzagDecode​(long value)
      • writeVLong

        public static void writeVLong​(io.airlift.slice.SliceOutput buffer,
                                      long value,
                                      boolean signed)