riot_sys

Function nanocbor_get_bool

Source
pub unsafe extern "C" fn nanocbor_get_bool(
    cvalue: *mut nanocbor_value_t,
    value: *mut bool,
) -> c_int
Expand description

@brief Retrieve a boolean value from the stream

@param[in] cvalue CBOR value to decode from @param[out] value Boolean value retrieved from the stream

@return NANOCBOR_OK on success @return negative on error