Writes the contents of a string to a file
| 128 | |
| 129 | // Writes the contents of a string to a file |
| 130 | void WriteStringAsFile(const wchar* filePath, const std::string& data) |
| 131 | { |
| 132 | File file(filePath, FileOpenMode::Write); |
| 133 | file.Write(data.length(), data.c_str()); |
| 134 | } |
| 135 | |
| 136 | // == File ======================================================================================== |
| 137 |
no test coverage detected