riot_sys

Function nanocbor_fmt_tag

Source
pub unsafe extern "C" fn nanocbor_fmt_tag(
    enc: *mut nanocbor_encoder_t,
    num: u64,
) -> c_int
Expand description

@brief Write a CBOR tag of at most sizeof uint64_t into the buffer

@param[in] enc Encoder context @param[in] num tag value to write into the buffer

@return number of bytes written @return Negative on error