Expand description

CBOR State

a new empty state is created with State::new()

Then the following API are used:

  • array: new array has been added

  • map: new map has been added

  • brk: process a CBOR break, which terminate an indefinite structure (bytes, texts, arrays, maps)

  • text: add a text item

  • bytes: add a bytes item

  • tag: a new tag event

  • simple: add a simple item (everything else from tag, array, map, bytes, text)

  • acceptable: check if the state is done

Structs

Enums

Type Definitions