1
0

feature: write indexed data to file.

This commit is contained in:
2025-11-19 00:52:39 +02:00
parent d65653cb76
commit dbfd4eb19d
2 changed files with 124 additions and 27 deletions

9
src/output.hpp Normal file
View 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));
}
}