MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / asConstString

Method asConstString

Source/JSON/jsoncpp.cpp:2785–2791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2783
2784#ifdef JSON_USE_CPPTL
2785CppTL::ConstString Value::asConstString() const {
2786 unsigned len;
2787 char const* str;
2788 decodePrefixedString(allocated_, value_.string_,
2789 &len, &str);
2790 return CppTL::ConstString(str, len);
2791}
2792#endif
2793
2794Value::Int Value::asInt() const {

Callers

nothing calls this directly

Calls 1

decodePrefixedStringFunction · 0.70

Tested by

no test coverage detected