Skip to main content

encode_float_single_ieee_be

Function encode_float_single_ieee_be 

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

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

ยงErrors

Returns CBKE510_NUMERIC_OVERFLOW if the buffer has fewer than 4 bytes.