MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / getCStringLength

Method getCStringLength

json/jsoncpp.cpp:3099–3109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3097
3098#if JSONCPP_USING_SECURE_MEMORY
3099unsigned Value::getCStringLength() const {
3100 JSON_ASSERT_MESSAGE(type_ == stringValue,
3101 "in Json::Value::asCString(): requires stringValue");
3102 if (value_.string_ == 0)
3103 return 0;
3104 unsigned this_len;
3105 char const* this_str;
3106 decodePrefixedString(this->allocated_, this->value_.string_, &this_len,
3107 &this_str);
3108 return this_len;
3109}
3110#endif
3111
3112bool Value::getString(char const** str, char const** cend) const {

Callers

nothing calls this directly

Calls 1

decodePrefixedStringFunction · 0.85

Tested by

no test coverage detected