Class Values


  • public final class Values
    extends Object
    Util class for storing various util values as constants.
    • Field Detail

      • UNSIGNED_SHORT_MAX_VALUE

        public static final int UNSIGNED_SHORT_MAX_VALUE
        Maximum unsigned Short value (65535).
        See Also:
        Constant Field Values
      • UNSIGNED_BYTE_MAX_VALUE

        public static final int UNSIGNED_BYTE_MAX_VALUE
        Maximum unsigned Byte value (255).
        See Also:
        Constant Field Values
      • UNSIGNED_INT_MAX_VALUE

        public static final long UNSIGNED_INT_MAX_VALUE
        Maximum unsigned Integer value (2147483648).
        See Also:
        Constant Field Values
      • BYTE_MAX_VALUE_BYTES

        public static final int BYTE_MAX_VALUE_BYTES
        Maximum unsigned Byte value in hex (0xFF).
        See Also:
        Constant Field Values
      • FIRST_BIT_OFFSET

        public static final int FIRST_BIT_OFFSET
        In order to get the value in first bit, we need to shift the byte by 7.
        See Also:
        Constant Field Values