Function rustracer::hdrimage::write_float
source · fn write_float<W: Write>(
stream: &mut W,
value: f32,
endianness: &ByteOrder
) -> Result<()>
Expand description
Write f32
value to stream.
With stream
implemented std::io::Write
trait and value
encoded as function of
endianness
.
Using byteorder
library