riot_sys::bindgen

Function nanocbor_fmt_uint

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

@brief Write an unsigned integer of at most sizeof uint64_t into the buffer

@param[in] enc Encoder context @param[in] num unsigned integer to write

@return number of bytes written @return Negative on error