CborInt

data class CborInt(val value: Long) : CborValue(source)

Major types 0 and 1. The range is that of Long; larger CBOR integers are rejected on decode.

Constructors

Link copied to clipboard
constructor(value: Long)

Properties

Link copied to clipboard
val value: Long

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.

Link copied to clipboard
open override fun toString(): String