TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ get_token_string()

template<typename BasicJsonType , typename InputAdapterType , typename SAX = json_sax_dom_parser<BasicJsonType>>
std::string nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::get_token_string ( ) const
inlineprivate
Returns
a string representation of the last read byte

Definition at line 10928 of file json.hpp.

10929 {
10930 std::array<char, 3> cr{{}};
10931 (std::snprintf)(cr.data(), cr.size(), "%.2hhX", static_cast<unsigned char>(current)); // NOLINT(cppcoreguidelines-pro-type-vararg,hicpp-vararg)
10932 return std::string{cr.data()};
10933 }
char_int_type current
the current character
Definition: json.hpp:10978