pub unsafe extern "C" fn nanocbor_decoder_init(
value: *mut nanocbor_value_t,
buf: *const u8,
len: size_t,
)
Expand description
@brief Initialize a decoder context decoding the CBOR structure from @p buf with @p len bytes
The decoder will attempt to decode CBOR types until the buffer is exhausted
@param[in] value decoder value context @param[in] buf Buffer to decode from @param[in] len Length in bytes of the buffer