MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / get_token_string

Method get_token_string

dependencies/json/json.hpp:10106–10111  ·  view source on GitHub ↗

! @return a string representation of the last read byte */

Source from the content-addressed store, hash-verified

10104 @return a string representation of the last read byte
10105 */
10106 std::string get_token_string() const
10107 {
10108 std::array<char, 3> cr{{}};
10109 (std::snprintf)(cr.data(), cr.size(), "%.2hhX", static_cast<unsigned char>(current));
10110 return std::string{cr.data()};
10111 }
10112
10113 /*!
10114 @param[in] format the current format

Callers 5

parseMethod · 0.45
sax_parseMethod · 0.45
sax_parse_internalMethod · 0.45
exception_messageMethod · 0.45

Calls 2

dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected