MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / WriteFile

Function WriteFile

src/ConfigTest.cpp:69–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected