Interface CborConstants


  • public interface CborConstants
    Constant values used by the CBOR format.
    • 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
      • BREAK

        static final int BREAK
        The CBOR-encoded "break" stop code for unlimited arrays/maps.
        See Also:
        Constant Field Values
      • TAG_STANDARD_DATE_TIME

        static final int TAG_STANDARD_DATE_TIME
        Semantic tag value describing date/time values in the standard format (UTF8 string, RFC3339).
        See Also:
        Constant Field Values
      • TAG_EPOCH_DATE_TIME

        static final int TAG_EPOCH_DATE_TIME
        Semantic tag value describing date/time values as Epoch timestamp (numeric, RFC3339).
        See Also:
        Constant Field Values
      • TAG_POSITIVE_BIGINT

        static final int TAG_POSITIVE_BIGINT
        Semantic tag value describing a positive big integer value (byte string).
        See Also:
        Constant Field Values
      • TAG_NEGATIVE_BIGINT

        static final int TAG_NEGATIVE_BIGINT
        Semantic tag value describing a negative big integer value (byte string).
        See Also:
        Constant Field Values
      • TAG_DECIMAL_FRACTION

        static final int TAG_DECIMAL_FRACTION
        Semantic tag value describing a decimal fraction value (two-element array, base 10).
        See Also:
        Constant Field Values
      • TAG_BIGDECIMAL

        static final int TAG_BIGDECIMAL
        Semantic tag value describing a big decimal value (two-element array, base 2).
        See Also:
        Constant Field Values
      • TAG_EXPECTED_BASE64_URL_ENCODED

        static final int TAG_EXPECTED_BASE64_URL_ENCODED
        Semantic tag value describing an expected conversion to base64url encoding.
        See Also:
        Constant Field Values
      • TAG_EXPECTED_BASE64_ENCODED

        static final int TAG_EXPECTED_BASE64_ENCODED
        Semantic tag value describing an expected conversion to base64 encoding.
        See Also:
        Constant Field Values
      • TAG_EXPECTED_BASE16_ENCODED

        static final int TAG_EXPECTED_BASE16_ENCODED
        Semantic tag value describing an expected conversion to base16 encoding.
        See Also:
        Constant Field Values
      • TAG_CBOR_ENCODED

        static final int TAG_CBOR_ENCODED
        Semantic tag value describing an encoded CBOR data item (byte string).
        See Also:
        Constant Field Values
      • TAG_URI

        static final int TAG_URI
        Semantic tag value describing an URL (UTF8 string).
        See Also:
        Constant Field Values
      • TAG_BASE64_URL_ENCODED

        static final int TAG_BASE64_URL_ENCODED
        Semantic tag value describing a base64url encoded string (UTF8 string).
        See Also:
        Constant Field Values
      • TAG_BASE64_ENCODED

        static final int TAG_BASE64_ENCODED
        Semantic tag value describing a base64 encoded string (UTF8 string).
        See Also:
        Constant Field Values
      • TAG_REGEXP

        static final int TAG_REGEXP
        Semantic tag value describing a regular expression string (UTF8 string, PCRE).
        See Also:
        Constant Field Values
      • TAG_MIME_MESSAGE

        static final int TAG_MIME_MESSAGE
        Semantic tag value describing a MIME message (UTF8 string, RFC2045).
        See Also:
        Constant Field Values
      • TAG_CBOR_MARKER

        static final int TAG_CBOR_MARKER
        Semantic tag value describing CBOR content.
        See Also:
        Constant Field Values