feature: write indexed data to file.
This commit is contained in:
9
src/output.hpp
Normal file
9
src/output.hpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user