MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / get_token_string

Method get_token_string

Source/Utils/json.hpp:10035–10040  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

10033 @return a string representation of the last read byte
10034 */
10035 std::string get_token_string() const
10036 {
10037 std::array<char, 3> cr{ {} };
10038 (std::snprintf)(cr.data(), cr.size(), "%.2hhX", static_cast<unsigned char>(current));
10039 return std::string{ cr.data() };
10040 }
10041
10042 /*!
10043 @param[in] format the current format

Callers 5

parseMethod · 0.80
sax_parseMethod · 0.80
sax_parse_internalMethod · 0.80
exception_messageMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected