Skip to main content

decode_float_single

Function decode_float_single 

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

Decode a COMP-1 float with default IEEE-754 big-endian interpretation.

ยงErrors

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