pub unsafe extern "C" fn nanocbor_get_decimal_frac(
    cvalue: *mut nanocbor_value_t,
    e: *mut i32,
    m: *mut i32
) -> c_int
Expand description

@brief Retrieve a decimal fraction from the stream as a int32_t mantisa and int32_t exponent

If the value at cvalue is greater than 32 bit, error is returned.

The resulting @p value is undefined if the result is an error condition

@param[in] cvalue CBOR value to decode from @param[out] m returned mantisa @param[out] e returned exponent

@return NANOCBOR_OK on success @return negative on error