| 3039 | |
| 3040 | #if JSONCPP_USING_SECURE_MEMORY |
| 3041 | unsigned Value::getCStringLength() const { |
| 3042 | JSON_ASSERT_MESSAGE(type() == stringValue, |
| 3043 | "in Json::Value::asCString(): requires stringValue"); |
| 3044 | if (value_.string_ == 0) |
| 3045 | return 0; |
| 3046 | unsigned this_len; |
| 3047 | char const* this_str; |
| 3048 | decodePrefixedString(this->isAllocated(), this->value_.string_, &this_len, |
| 3049 | &this_str); |
| 3050 | return this_len; |
| 3051 | } |
| 3052 | #endif |
| 3053 | |
| 3054 | bool Value::getString(char const** begin, char const** end) const { |
nothing calls this directly
no test coverage detected