riot_sys

Function nanocbor_fmt_decimal_frac

Source
pub unsafe extern "C" fn nanocbor_fmt_decimal_frac(
    enc: *mut nanocbor_encoder_t,
    e: i32,
    m: i32,
) -> c_int
Expand description

@brief Write a decimal fraction into the encoder buffer

@param[in] enc Encoder context @param[in] m Mantisa @param[in] e Exponent

@return Number of bytes written