Interface CborConstants
public interface CborConstants
Constant values used by the CBOR format.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe CBOR-encoded "break" stop code for unlimited arrays/maps.static final intDenotes a double-precision float (eight-byte IEEE 754, see#MT_FLOAT).static final intDenotes a eight-byte value (uint64).static final intThe CBOR-encoded booleanfalsevalue (encoded as "simple value":#MT_SIMPLE).static final intDenotes a four-byte value (uint32).static final intDenotes a half-precision float (two-byte IEEE 754, see#MT_FLOAT).static final intThe CBOR-encodednullvalue (encoded as "simple value":#MT_SIMPLE).static final intDenotes a one-byte value (uint8).static final intDenotes a single-precision float (four-byte IEEE 754, see#MT_FLOAT).static final intSemantic tag value describing a base64 encoded string (UTF8 string).static final intSemantic tag value describing a base64url encoded string (UTF8 string).static final intSemantic tag value describing a big decimal value (two-element array, base 2).static final intSemantic tag value describing an encoded CBOR data item (byte string).static final intSemantic tag value describing CBOR content.static final intSemantic tag value describing a decimal fraction value (two-element array, base 10).static final intSemantic tag value describing date/time values as Epoch timestamp (numeric, RFC3339).static final intSemantic tag value describing an expected conversion to base16 encoding.static final intSemantic tag value describing an expected conversion to base64 encoding.static final intSemantic tag value describing an expected conversion to base64url encoding.static final intSemantic tag value describing a MIME message (UTF8 string, RFC2045).static final intSemantic tag value describing a negative big integer value (byte string).static final intSemantic tag value describing a positive big integer value (byte string).static final intSemantic tag value describing a regular expression string (UTF8 string, PCRE).static final intSemantic tag value describing date/time values in the standard format (UTF8 string, RFC3339).static final intSemantic tag value describing an URL (UTF8 string).static final intThe CBOR-encoded booleantruevalue (encoded as "simple value":#MT_SIMPLE).static final intDenotes a two-byte value (uint16).static final intMajor type 4: array of items.static final intMajor type 2: byte string.static final intMajor type 7: floating point, simple data types.static final intMajor type 5: map of pairs.static final intMajor type 1: negative integers.static final intMajor type 6: semantic tags.static final intMajor type 3: text/UTF8 string.static final intMajor type 0: unsigned integers.static final intThe CBOR-encoded "undefined" value (encoded as "simple value":#MT_SIMPLE).
-
Field Details
-
TYPE_UNSIGNED_INTEGER
static final int TYPE_UNSIGNED_INTEGERMajor type 0: unsigned integers.- See Also:
-
TYPE_NEGATIVE_INTEGER
static final int TYPE_NEGATIVE_INTEGERMajor type 1: negative integers.- See Also:
-
TYPE_BYTE_STRING
static final int TYPE_BYTE_STRINGMajor type 2: byte string.- See Also:
-
TYPE_TEXT_STRING
static final int TYPE_TEXT_STRINGMajor type 3: text/UTF8 string.- See Also:
-
TYPE_ARRAY
static final int TYPE_ARRAYMajor type 4: array of items.- See Also:
-
TYPE_MAP
static final int TYPE_MAPMajor type 5: map of pairs.- See Also:
-
TYPE_TAG
static final int TYPE_TAGMajor type 6: semantic tags.- See Also:
-
TYPE_FLOAT_SIMPLE
static final int TYPE_FLOAT_SIMPLEMajor type 7: floating point, simple data types.- See Also:
-
ONE_BYTE
static final int ONE_BYTEDenotes a one-byte value (uint8).- See Also:
-
TWO_BYTES
static final int TWO_BYTESDenotes a two-byte value (uint16).- See Also:
-
FOUR_BYTES
static final int FOUR_BYTESDenotes a four-byte value (uint32).- See Also:
-
EIGHT_BYTES
static final int EIGHT_BYTESDenotes a eight-byte value (uint64).- See Also:
-
FALSE
static final int FALSEThe CBOR-encoded booleanfalsevalue (encoded as "simple value":#MT_SIMPLE).- See Also:
-
TRUE
static final int TRUEThe CBOR-encoded booleantruevalue (encoded as "simple value":#MT_SIMPLE).- See Also:
-
NULL
static final int NULLThe CBOR-encodednullvalue (encoded as "simple value":#MT_SIMPLE).- See Also:
-
UNDEFINED
static final int UNDEFINEDThe CBOR-encoded "undefined" value (encoded as "simple value":#MT_SIMPLE).- See Also:
-
HALF_PRECISION_FLOAT
static final int HALF_PRECISION_FLOATDenotes a half-precision float (two-byte IEEE 754, see#MT_FLOAT).- See Also:
-
SINGLE_PRECISION_FLOAT
static final int SINGLE_PRECISION_FLOATDenotes a single-precision float (four-byte IEEE 754, see#MT_FLOAT).- See Also:
-
DOUBLE_PRECISION_FLOAT
static final int DOUBLE_PRECISION_FLOATDenotes a double-precision float (eight-byte IEEE 754, see#MT_FLOAT).- See Also:
-
BREAK
static final int BREAKThe CBOR-encoded "break" stop code for unlimited arrays/maps.- See Also:
-
TAG_STANDARD_DATE_TIME
static final int TAG_STANDARD_DATE_TIMESemantic tag value describing date/time values in the standard format (UTF8 string, RFC3339).- See Also:
-
TAG_EPOCH_DATE_TIME
static final int TAG_EPOCH_DATE_TIMESemantic tag value describing date/time values as Epoch timestamp (numeric, RFC3339).- See Also:
-
TAG_POSITIVE_BIGINT
static final int TAG_POSITIVE_BIGINTSemantic tag value describing a positive big integer value (byte string).- See Also:
-
TAG_NEGATIVE_BIGINT
static final int TAG_NEGATIVE_BIGINTSemantic tag value describing a negative big integer value (byte string).- See Also:
-
TAG_DECIMAL_FRACTION
static final int TAG_DECIMAL_FRACTIONSemantic tag value describing a decimal fraction value (two-element array, base 10).- See Also:
-
TAG_BIGDECIMAL
static final int TAG_BIGDECIMALSemantic tag value describing a big decimal value (two-element array, base 2).- See Also:
-
TAG_EXPECTED_BASE64_URL_ENCODED
static final int TAG_EXPECTED_BASE64_URL_ENCODEDSemantic tag value describing an expected conversion to base64url encoding.- See Also:
-
TAG_EXPECTED_BASE64_ENCODED
static final int TAG_EXPECTED_BASE64_ENCODEDSemantic tag value describing an expected conversion to base64 encoding.- See Also:
-
TAG_EXPECTED_BASE16_ENCODED
static final int TAG_EXPECTED_BASE16_ENCODEDSemantic tag value describing an expected conversion to base16 encoding.- See Also:
-
TAG_CBOR_ENCODED
static final int TAG_CBOR_ENCODEDSemantic tag value describing an encoded CBOR data item (byte string).- See Also:
-
TAG_URI
static final int TAG_URISemantic tag value describing an URL (UTF8 string).- See Also:
-
TAG_BASE64_URL_ENCODED
static final int TAG_BASE64_URL_ENCODEDSemantic tag value describing a base64url encoded string (UTF8 string).- See Also:
-
TAG_BASE64_ENCODED
static final int TAG_BASE64_ENCODEDSemantic tag value describing a base64 encoded string (UTF8 string).- See Also:
-
TAG_REGEXP
static final int TAG_REGEXPSemantic tag value describing a regular expression string (UTF8 string, PCRE).- See Also:
-
TAG_MIME_MESSAGE
static final int TAG_MIME_MESSAGESemantic tag value describing a MIME message (UTF8 string, RFC2045).- See Also:
-
TAG_CBOR_MARKER
static final int TAG_CBOR_MARKERSemantic tag value describing CBOR content.- See Also:
-