Interface CborConstants


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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The CBOR-encoded "undefined" value (encoded as "simple value").
    static final int
    Denotes a eight-byte value (uint64).
    static final int
    The CBOR-encoded boolean false value (encoded as "simple value").
    static final int
    Denotes a four-byte value (uint32).
    static final int
    The CBOR-encoded null value (encoded as "simple value").
    static final int
    Denotes a one-byte value (uint8).
    static final int
    The CBOR-encoded boolean true value (encoded as "simple value").
    static final int
    Denotes a two-byte value (uint16).
    static final int
    Major type 4: array of items.
    static final int
    Major type 2: byte string.
    static final int
    Major type 7: floating point, simple data types.
    static final int
    Major type 5: map of pairs.
    static final int
    Major type 1: negative integers.
    static final int
    Major type 6: semantic tags.
    static final int
    Major type 3: text/UTF8 string.
    static final int
    Major type 0: unsigned integers.
  • Field Details

    • TYPE_UNSIGNED_INTEGER

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

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

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

      static final int TYPE_TEXT_STRING
      Major type 3: text/UTF8 string.
      See Also:
    • TYPE_ARRAY

      static final int TYPE_ARRAY
      Major type 4: array of items.
      See Also:
    • TYPE_MAP

      static final int TYPE_MAP
      Major type 5: map of pairs.
      See Also:
    • TYPE_TAG

      static final int TYPE_TAG
      Major type 6: semantic tags.
      See Also:
    • TYPE_FLOAT_SIMPLE

      static final int TYPE_FLOAT_SIMPLE
      Major type 7: floating point, simple data types.
      See Also:
    • ONE_BYTE

      static final int ONE_BYTE
      Denotes a one-byte value (uint8).
      See Also:
    • TWO_BYTES

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

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

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

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

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

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

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