MCPcopy Create free account
hub / github.com/RenderKit/embree / hexEscapeChar

Function hexEscapeChar

tutorials/external/catch.hpp:12787–12793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12785 }
12786
12787 void hexEscapeChar(std::ostream& os, unsigned char c) {
12788 std::ios_base::fmtflags f(os.flags());
12789 os << "\\x"
12790 << std::uppercase << std::hex << std::setfill('0') << std::setw(2)
12791 << static_cast<int>(c);
12792 os.flags(f);
12793 }
12794
12795} // anonymous namespace
12796

Callers 1

encodeToMethod · 0.85

Calls 1

flagsMethod · 0.80

Tested by

no test coverage detected