10 lines
244 B
C++
10 lines
244 B
C++
#include <array>
|
|
#include <ostream>
|
|
|
|
namespace wavefront {
|
|
template<typename NumericType>
|
|
void write_number(std::ostream &output, NumericType value) {
|
|
output.write(reinterpret_cast<char *>(&value), sizeof(NumericType));
|
|
}
|
|
}
|