MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / get_token_string

Method get_token_string

lesson6-Segmentation/json.hpp:10037–10042  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

10035 @return a string representation of the last read byte
10036 */
10037 std::string get_token_string() const
10038 {
10039 std::array<char, 3> cr{{}};
10040 (std::snprintf)(cr.data(), cr.size(), "%.2hhX", static_cast<unsigned char>(current));
10041 return std::string{cr.data()};
10042 }
10043
10044 /*!
10045 @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 2

dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected