Skip to main content

encode_double_to_sink

Function encode_double_to_sink 

Source
pub fn encode_double_to_sink<S: EncodeSink + ?Sized>(
    sink: &mut S,
    value: f64,
) -> Result<usize, SinkFull>
Expand description

Append the eight IEEE-754 octets of a Double in big-endian order without a tag.

Uses one atomic write, with the scalar sink contract.