| libcbor
    0.5.0
    libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format. | 
Go to the source code of this file.
| Functions | |
| struct cbor_decoder_result | cbor_stream_decode (cbor_data buffer, size_t buffer_size, const struct cbor_callbacks *callbacks, void *context) | 
| Stateless decoder.  More... | |
| struct cbor_decoder_result cbor_stream_decode | ( | cbor_data | buffer, | 
| size_t | buffer_size, | ||
| const struct cbor_callbacks * | callbacks, | ||
| void * | context | ||
| ) | 
Stateless decoder.
Will try parsing the buffer and will invoke the appropriate callback on success. Decodes one item at a time. No memory allocations occur.
| buffer | Input buffer | 
| buffer_size | Length of the buffer | 
| callbacks | The callback bundle | 
| context | An arbitrary pointer to allow for maintaining context. | 
Definition at line 26 of file streaming.c.
 1.8.12
 1.8.12