Function riot_sys::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