MCPcopy Create free account
hub / github.com/ValveSoftware/Proton / asConstString

Method asConstString

vrclient_x64/jsoncpp.cpp:3090–3096  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3088
3089#ifdef JSON_USE_CPPTL
3090CppTL::ConstString Value::asConstString() const {
3091 unsigned len;
3092 char const* str;
3093 decodePrefixedString(allocated_, value_.string_,
3094 &len, &str);
3095 return CppTL::ConstString(str, len);
3096}
3097#endif
3098
3099Value::Int Value::asInt() const {

Callers

nothing calls this directly

Calls 1

decodePrefixedStringFunction · 0.85

Tested by

no test coverage detected