MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / hexEscapeChar

Function hexEscapeChar

unittests/catch.hpp:10999–11003  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10997 }
10998
10999 void hexEscapeChar(std::ostream& os, unsigned char c) {
11000 os << "\\x"
11001 << std::uppercase << std::hex << std::setfill('0') << std::setw(2)
11002 << static_cast<int>(c);
11003 }
11004
11005} // anonymous namespace
11006

Callers 1

encodeToMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected