Function riot_sys::nanocbor_skip

source ·
pub unsafe extern "C" fn nanocbor_skip(
    it: *mut nanocbor_value_t
) -> c_int
Expand description

@brief Skip to the next value in the CBOR stream

This function is able to skip over nested structures in the CBOR stream such as (nested) arrays and maps. It uses limited recursion to do so.

Recursion is limited with @ref NANOCBOR_RECURSION_MAX

@param[in] it CBOR stream to skip a value from

@return NANOCBOR_OK on success @return negative on error