Function riot_sys::nanocbor_get_tag

source ·
pub unsafe extern "C" fn nanocbor_get_tag(
    cvalue: *mut nanocbor_value_t,
    tag: *mut u32
) -> c_int
Expand description

@brief Retrieve a tag as positive uint32_t from the stream

The resulting @p value is undefined if the result is an error condition

@param[in] cvalue CBOR value to decode from @param[out] tag returned tag as positive integer

@return NANOCBOR_OK on success