riot_sys

Function nanocbor_get_tag64

Source
pub unsafe extern "C" fn nanocbor_get_tag64(
    cvalue: *mut nanocbor_value_t,
    tag: *mut u64,
) -> c_int
Expand description

@brief Retrieve a tag as positive uint64_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