Package-level declarations
Types
Array builder.
Extension for Base64 byte strings: b64'AQIDBA=='.
Format preferred for byte strings when generating CDN text.
CBOR data item builder.
Single-precision floating point number (major type 7).
Exception thrown when parsing Concise Diagnostic Notation (CDN) fails.
Interface for CDN application-oriented extension literals (e.g. dt'2026-07-27T16:00:00Z').
Registry for CDN application-oriented extensions.
Options for CDN text generation (serializing DataItem to CDN string).
Options for CDN text parsing (parsing CDN text to DataItem).
Extension for X.509 certificates: cert'''-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----'''.
Extension for RFC 3339 Date/Time: dt'2026-07-27T16:00:00Z'.
Enumeration of options that can be passed to Cbor.toDiagnostics.
Extension for explicit floating point precision bit-widths: float'16(0x7c00)'.
Extension for Hexadecimal byte strings: h'01020304' or h"01020304".
Byte String (major type 2), indefinite length.
Unicode String (major type 3), indefinite length.
Extension for IP addresses: ip'192.168.1.1' or ip'2001:db8::1'.
Map builder.
Extension for Byte String Concatenation: b1'...'.
Extension for Text String Concatenation: t1'...'.
Functions
Adds the DataItem for a CBOR array produced by the given builder action to a CBOR array.
Adds the DataItem for a CBOR map produced by the given builder action to a CBOR array.
Builds a DataItem for a CBOR array with the given builder action.
Builds a DataItem for a CBOR map with the given builder action.
Adds the DataItem for a CBOR array produced by the given builder action to a CBOR map.
Adds the DataItem for a CBOR map produced by the given builder action to a CBOR map.
Extension to get a Simple data item for the value.
Extension to get a CborInt data item for the value.
Extension to get a Bstr data item for the value.
Extension to get a CborDouble data item for the value.
Extension to get a CborFloat data item for the value.
Extension to get a Tstr data item for the value.
Extension to get a date-time string data item for a point in time.
Extension to get a date-time string data item for a RFC 3339-formatted string representing a point in time.
Extension function to parse a CDN string representation into a DataItem.
Extension to get a full-date data item as specified in RFC 8943.