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

Function WriteLe16

src/ConfigTest.cpp:74–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void WriteLe16(std::ofstream& output, uint16_t value) {
75 output.put(static_cast<char>(value & 0xff));
76 output.put(static_cast<char>((value >> 8) & 0xff));
77}
78
79void WriteLe32(std::ofstream& output, uint32_t value) {
80 output.put(static_cast<char>(value & 0xff));

Callers 1

WriteStoredZipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected