Interface CborConstants


  • public interface CborConstants
    Constant values used by the CBOR format.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BREAK
      The CBOR-encoded "undefined" value (encoded as "simple value").
      static int EIGHT_BYTES
      Denotes a eight-byte value (uint64).
      static int FALSE
      The CBOR-encoded boolean false value (encoded as "simple value").
      static int FOUR_BYTES
      Denotes a four-byte value (uint32).
      static int NULL
      The CBOR-encoded null value (encoded as "simple value").
      static int ONE_BYTE
      Denotes a one-byte value (uint8).
      static int TRUE
      The CBOR-encoded boolean true value (encoded as "simple value").
      static int TWO_BYTES
      Denotes a two-byte value (uint16).
      static int TYPE_ARRAY
      Major type 4: array of items.
      static int TYPE_BYTE_STRING
      Major type 2: byte string.
      static int TYPE_FLOAT_SIMPLE
      Major type 7: floating point, simple data types.
      static int TYPE_MAP
      Major type 5: map of pairs.
      static int TYPE_NEGATIVE_INTEGER
      Major type 1: negative integers.
      static int TYPE_TAG
      Major type 6: semantic tags.
      static int TYPE_TEXT_STRING
      Major type 3: text/UTF8 string.
      static int TYPE_UNSIGNED_INTEGER
      Major type 0: unsigned integers.
    • Field Detail

      • TYPE_UNSIGNED_INTEGER

        static final int TYPE_UNSIGNED_INTEGER
        Major type 0: unsigned integers.
        See Also:
        Constant Field Values
      • TYPE_NEGATIVE_INTEGER

        static final int TYPE_NEGATIVE_INTEGER
        Major type 1: negative integers.
        See Also:
        Constant Field Values
      • TYPE_BYTE_STRING

        static final int TYPE_BYTE_STRING
        Major type 2: byte string.
        See Also:
        Constant Field Values
      • TYPE_TEXT_STRING

        static final int TYPE_TEXT_STRING
        Major type 3: text/UTF8 string.
        See Also:
        Constant Field Values
      • TYPE_FLOAT_SIMPLE

        static final int TYPE_FLOAT_SIMPLE
        Major type 7: floating point, simple data types.
        See Also:
        Constant Field Values
      • TWO_BYTES

        static final int TWO_BYTES
        Denotes a two-byte value (uint16).
        See Also:
        Constant Field Values
      • FOUR_BYTES

        static final int FOUR_BYTES
        Denotes a four-byte value (uint32).
        See Also:
        Constant Field Values
      • EIGHT_BYTES

        static final int EIGHT_BYTES
        Denotes a eight-byte value (uint64).
        See Also:
        Constant Field Values
      • FALSE

        static final int FALSE
        The CBOR-encoded boolean false value (encoded as "simple value").
        See Also:
        Constant Field Values
      • TRUE

        static final int TRUE
        The CBOR-encoded boolean true value (encoded as "simple value").
        See Also:
        Constant Field Values
      • NULL

        static final int NULL
        The CBOR-encoded null value (encoded as "simple value").
        See Also:
        Constant Field Values
      • BREAK

        static final int BREAK
        The CBOR-encoded "undefined" value (encoded as "simple value").
        See Also:
        Constant Field Values