riot_sys

Function nanocbor_fmt_bool

Source
pub unsafe extern "C" fn nanocbor_fmt_bool(
    enc: *mut nanocbor_encoder_t,
    content: bool,
) -> c_int
Expand description

@brief Write a CBOR boolean value into a buffer

@param[in] enc Encoder context @param[in] content Boolean value to write

@return Number of bytes written @return Negative on error