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

Function EncodeToUtf32LE

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

Source from the content-addressed store, hash-verified

60}
61
62void EncodeToUtf32LE(std::ostream& stream, int ch) {
63 stream << Byte(ch & 0xFF) << Byte((ch >> 8) & 0xFF) << Byte((ch >> 16) & 0xFF)
64 << Byte((ch >> 24) & 0xFF);
65}
66
67void EncodeToUtf32BE(std::ostream& stream, int ch) {
68 stream << Byte((ch >> 24) & 0xFF) << Byte((ch >> 16) & 0xFF)

Callers

nothing calls this directly

Calls 1

ByteFunction · 0.85

Tested by

no test coverage detected