Function rmp::encode::write_f64
[−]
[src]
pub fn write_f64<W: Write>(wr: &mut W, val: f64) -> Result<(), ValueWriteError>
Encodes and attempts to write an f64
value as a 9-byte sequence into the given write.
The first byte becomes the f64
marker and the others will represent the data itself.
Errors
This function will return ValueWriteError
on any I/O error occurred while writing either the
marker or the data, except the EINTR, which is handled internally.