Function riot_sys::nanocbor_fmt_int

source ·
pub unsafe extern "C" fn nanocbor_fmt_int(
    enc: *mut nanocbor_encoder_t,
    num: i64
) -> c_int
Expand description

@brief Write a signed integer of at most sizeof int32_t into the buffer

If it is not certain if the data is signed, use this function.

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

@return number of bytes written @return Negative on error