| 3094 | |
| 3095 | #if JSONCPP_USING_SECURE_MEMORY |
| 3096 | unsigned Value::getCStringLength() const { |
| 3097 | JSON_ASSERT_MESSAGE(type_ == stringValue, |
| 3098 | "in Json::Value::asCString(): requires stringValue"); |
| 3099 | if (value_.string_ == 0) |
| 3100 | return 0; |
| 3101 | unsigned this_len; |
| 3102 | char const* this_str; |
| 3103 | decodePrefixedString(this->allocated_, this->value_.string_, &this_len, |
| 3104 | &this_str); |
| 3105 | return this_len; |
| 3106 | } |
| 3107 | #endif |
| 3108 | |
| 3109 | bool Value::getString(char const** begin, char const** end) const { |
nothing calls this directly
no test coverage detected