MCPcopy Create free account
hub / github.com/apache/trafficserver / EncodeToUtf16LE

Function EncodeToUtf16LE

lib/yamlcpp/test/integration/encoding_test.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void EncodeToUtf16LE(std::ostream& stream, int ch) {
51 if (!SplitUtf16HighChar(stream, &EncodeToUtf16LE, ch)) {
52 stream << Byte(ch & 0xFF) << Byte(ch >> 8);
53 }
54}
55
56void EncodeToUtf16BE(std::ostream& stream, int ch) {
57 if (!SplitUtf16HighChar(stream, &EncodeToUtf16BE, ch)) {

Callers

nothing calls this directly

Calls 2

SplitUtf16HighCharFunction · 0.85
ByteFunction · 0.85

Tested by

no test coverage detected