Skip to main content

decode_float_single_ieee_be

Function decode_float_single_ieee_be 

Source
pub fn decode_float_single_ieee_be(data: &[u8]) -> Result<f32>
Expand description

Decode a COMP-1 field in IEEE-754 big-endian format.

ยงErrors

Returns CBKD301_RECORD_TOO_SHORT if the data slice has fewer than 4 bytes.