CborTokenType

Values

ValueMeaning
arrayHeader0b000

CborToken.uinteger stores array length. Indefinite-length array has no length. Header is followed by zero or more data items, terminated by break.

arrayIndefiniteHeader0b001

ditto

mapHeader0b010

CborToken.uinteger stores map's pair count. Indefinite-length map has no length. Header is followed by zero or more pairs, terminated by break.

mapIndefiniteHeader0b011

ditto

bytesHeader0b100

CborToken.uinteger stores byte string length. Indefinite-length byte string has no length. Header is follower by zero or more definite-length byte strings terminated by break.

bytesIndefiniteHeader0b101

ditto

textHeader0b110

CborToken.uinteger stores text string length. Indefinite-length text string has no length. Header is follower by zero or more definite-length text strings terminated by break.

textIndefiniteHeader0b111

ditto

undefined

CborToken value is undefined.

nil

CborToken value is null.

boolean

CborToken.boolean stores actual value.

tag

uinteger stores tag value.

simple

Simple value is integer in range [0-255], stored in uinteger.

breakCode

"break" stop code, used to terminate indefinite-length sequences.

posinteger

CborToken.uinteger stores actual value.

neginteger

CborToken.integer stores actual value.

floating

CborToken.floating stores actual value.

Meta