Skip to main content

encode_float_double_ieee_be

Function encode_float_double_ieee_be 

Source
pub fn encode_float_double_ieee_be(value: f64, buffer: &mut [u8]) -> Result<()>
Expand description

Encode a COMP-2 value in IEEE-754 big-endian format.

ยงErrors

Returns CBKE510_NUMERIC_OVERFLOW if the buffer has fewer than 8 bytes.