1Decoding 2============================= 3 4Another way to decode data using libcbor is to specify a callbacks that will be invoked when upon finding certain items in the input. This API is provided by 5 6.. doxygenfunction:: cbor_stream_decode 7 8Usage example: https://github.com/PJK/libcbor/blob/master/examples/streaming_parser.c 9 10The callbacks are defined by 11 12.. doxygenstruct:: cbor_callbacks 13 :members: 14 15When building custom sets of callbacks, feel free to start from 16 17.. doxygenvariable:: cbor_empty_callbacks 18 19Related structures 20~~~~~~~~~~~~~~~~~~~~~ 21 22.. doxygenenum:: cbor_decoder_status 23.. doxygenstruct:: cbor_decoder_result 24 :members: 25 26 27Callback types definition 28~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 30 31.. doxygentypedef:: cbor_int8_callback 32.. doxygentypedef:: cbor_int16_callback 33.. doxygentypedef:: cbor_int32_callback 34.. doxygentypedef:: cbor_int64_callback 35.. doxygentypedef:: cbor_simple_callback 36.. doxygentypedef:: cbor_string_callback 37.. doxygentypedef:: cbor_collection_callback 38.. doxygentypedef:: cbor_float_callback 39.. doxygentypedef:: cbor_double_callback 40.. doxygentypedef:: cbor_bool_callback 41