| 67 | } |
| 68 | |
| 69 | void WriteFile(const fs::path& path, const std::string& content) { |
| 70 | std::ofstream ofs(path, std::ios::binary); |
| 71 | ofs << content; |
| 72 | } |
| 73 | |
| 74 | void WriteLe16(std::ofstream& output, uint16_t value) { |
| 75 | output.put(static_cast<char>(value & 0xff)); |