212 #endif //LIBCBOR_DATA_H Malformed or reserved MTB/value.
struct cbor_item_t cbor_item_t
The item handle.
High-level decoding result.
cbor_float_width
Possible widths of CBOR_TYPE_FLOAT_CTRL items.
Internal use - ctrl and special values.
_cbor_ctrl
Semantic mapping for CTRL simple values.
size_t position
Aproximate position.
cbor_decoder_status
Streaming decoder result - status.
cbor_type type
Major type discriminator.
7 - decimals and special values (true, false, nil, ...)
Simple pair of items for use in maps.
size_t refcount
Reference count - initialize to 0.
cbor_error_code code
Description.
High-level decoding error.
unsigned char * cbor_mutable_data
cbor_int_width
Possible widths of CBOR_TYPE_UINT items.
cbor_error_code
Possible decoding errors.
Streaming decoder result.
Defines cbor_item_t::data structure for indefinite strings and bytestrings.
const unsigned char * cbor_data
cbor_type
Specifies the Major type of cbor_item_t.
_cbor_dst_metadata
Metadata for dynamically sized types.
Stack parsing algorithm failed.
Not enough data - mismatch with MTB.
unsigned char * data
Raw data block - interpretation depends on metadata.
Memory error - item allocation failed.
size_t read
Number of bytes read.
Buffer manipulation problem.