llvm::support::endian::write<float>

Write a float to os using the given byte order.

Synopsis

Declared in <llvm/Support/EndianStream.h>

template<>
void
write<float>(
    raw_ostream& os,
    float value,
    endianness endian);

Parameters

NameDescription
osStream that receives the endian-converted bytes.
valueFloat whose bit pattern is written as a 32-bit integer.
endianByte order to apply to the bit pattern.