Skip to main content

encode_float_single_with_format

Function encode_float_single_with_format 

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

Encode a COMP-1 float with explicit format selection.

ยงErrors

Returns format-specific encode errors.