pub unsafe extern "C" fn nanocbor_get_key_tstr(
    start: *mut nanocbor_value_t,
    key: *const c_char,
    value: *mut nanocbor_value_t
) -> c_int
Expand description

@brief Search for a tstr key in a map.

The resulting @p value is undefined if @p key was not found.

@pre @p start is inside a map

@param[in] start pointer to the map to search @param[in] key pointer to the text string key @param[out] value pointer to the tstr value containing @p key if found

@return NANOCBOR_OK if @p key was found @return negative on error / not found