Module constants
Source - LIT_FALSE
- Simple value: FALSE
- LIT_FLOAT16
- half-precision floating-point value in the next two bytes
- LIT_FLOAT32
- single-precision floating-point value in the next four bytes
- LIT_FLOAT64
- double-precision floating-point value in the next eight bytes
- LIT_NULL
- Simple value: NULL
- LIT_SIMPLE
- Simple value encoded as following byte
- LIT_TRUE
- Simple value: TRUE
- LIT_UNDEFINED
- Simple value: UNDEFINED
- MAJOR_ARRAY
- Major type 4: array
- MAJOR_BYTES
- Major type 2: byte string
- MAJOR_DICT
- Major type 5: dictionary
- MAJOR_LIT
- Major type 7: simple values and floating-point numbers
- MAJOR_NEG
- Major type 1: negative number of up to 64 bit
- MAJOR_POS
- Major type 0: positive number of up to 64 bit
- MAJOR_STR
- Major type 3: utf-8 string
- MAJOR_TAG
- Major type 6: tag applied to the following item, with a value of up to 64 bit
- TAG_BASE64
- String tag: base64 encoded byte string, see RFC 4648
- TAG_BASE64URL
- String tag: base64url encoded byte string, see RFC 4648
- TAG_BIGDECIMAL
- Array tag: big decimal (i.e. base 10), encoded as integer exponent and any number mantissa
- TAG_BIGFLOAT
- Array tag: big float (i.e. base 2), encoded as integer exponent and any number mantissa
- TAG_BIGNUM_NEG
- Byte string tag: negative bigint, big endian encoding
- TAG_BIGNUM_POS
- Byte string tag: positive bigint, big endian encoding
- TAG_CBOR_ITEM
- Byte string tag: contents shall be interpreted as nested CBOR item
- TAG_CBOR_MARKER
- Marker for tagging the top-level CBOR item such that it cannot be misinterpreted as JSON
- TAG_EPOCH
- Integer or floating-point tag: seconds since the Unix epoch (possibly negative)
- TAG_ISO8601
- String tag: ISO8601 timestamp, see RFC 4287 §3.3
- TAG_MIME
- String tag: mime encoded payload, including headers, see RFC 2045
- TAG_REGEX
- String tag: regular expression (PCRE or ECMA)
- TAG_URI
- String tag: RFC 3986 URI