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

Function EncodeToUtf16BE

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

Source from the content-addressed store, hash-verified

54}
55
56void EncodeToUtf16BE(std::ostream& stream, int ch) {
57 if (!SplitUtf16HighChar(stream, &EncodeToUtf16BE, ch)) {
58 stream << Byte(ch >> 8) << Byte(ch & 0xFF);
59 }
60}
61
62void EncodeToUtf32LE(std::ostream& stream, int ch) {
63 stream << Byte(ch & 0xFF) << Byte((ch >> 8) & 0xFF) << Byte((ch >> 16) & 0xFF)

Callers

nothing calls this directly

Calls 2

SplitUtf16HighCharFunction · 0.85
ByteFunction · 0.85

Tested by

no test coverage detected