riot_sys

Function nanocbor_get_type

Source
pub unsafe extern "C" fn nanocbor_get_type(
    value: *const nanocbor_value_t,
) -> c_int
Expand description

@brief Retrieve the type of the CBOR value at the current position

@param[in] value decoder value context

@return major type @return NANOCBOR_ERR_END if the buffer is exhausted