MCPcopy Create free account
hub / github.com/SFML/SFML / toHex

Function toHex

test/System/String.test.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36auto toHex(const char32_t character)
37{
38 std::ostringstream stream;
39 stream << "[\\x" << std::uppercase << std::hex << std::uint32_t{character} << ']';
40 return stream.str();
41}
42} // namespace
43
44// Specialize StringMaker for alternative std::basic_string<T> specializations

Callers 1

convertMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected