MCPcopy Create free account
hub / github.com/Samsung/UTopia / asConstString

Method asConstString

external/jsoncpp/jsoncpp.cpp:3053–3058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3051
3052#ifdef JSON_USE_CPPTL
3053CppTL::ConstString Value::asConstString() const {
3054 unsigned len;
3055 char const *str;
3056 decodePrefixedString(isAllocated(), value_.string_, &len, &str);
3057 return CppTL::ConstString(str, len);
3058}
3059#endif
3060
3061Value::Int Value::asInt() const {

Callers

nothing calls this directly

Calls 2

decodePrefixedStringFunction · 0.85
isAllocatedFunction · 0.85

Tested by

no test coverage detected