Write value to os using the given byte order.

Synopsis

Declared in <llvm/Support/EndianStream.h>

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

Specializations

Name

Description

write<double>

Write a double to os using the given byte order.

write<float>

Write a float to os using the given byte order.

Parameters

Name

Description

os

Stream that receives the endian‐converted bytes.

value

Value to write.

endian

Byte order to apply before writing.

Created with MrDocs