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

Function Byte

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

Source from the content-addressed store, hash-verified

13typedef void (*EncodingFn)(std::ostream&, int);
14
15inline char Byte(int ch) {
16 return static_cast<char>(
17 static_cast<unsigned char>(static_cast<unsigned int>(ch)));
18}
19
20void EncodeToUtf8(std::ostream& stream, int ch) {
21 if (ch <= 0x7F) {

Callers 5

EncodeToUtf8Function · 0.85
EncodeToUtf16LEFunction · 0.85
EncodeToUtf16BEFunction · 0.85
EncodeToUtf32LEFunction · 0.85
EncodeToUtf32BEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected