CborValue

sealed class CborValue(source)

A decoded CBOR data item (RFC 8949 §3). Values are immutable and compare by content.

Floating-point values are not modelled: none of CoAP, OSCORE, EDHOC or COSE as used here carries them, and rejecting them keeps encodings deterministic.

Inheritors

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The value as a Long, or an exception naming what was found instead.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The preferred (deterministic) encoding of this value. Map entries keep their order.