| 3271 | |
| 3272 | #if JSONCPP_USING_SECURE_MEMORY |
| 3273 | unsigned Value::getCStringLength() const |
| 3274 | { |
| 3275 | JSON_ASSERT_MESSAGE(type() == stringValue, "in Json::Value::asCString(): requires stringValue"); |
| 3276 | if (value_.string_ == 0) |
| 3277 | return 0; |
| 3278 | unsigned this_len; |
| 3279 | char const *this_str; |
| 3280 | decodePrefixedString(this->isAllocated(), this->value_.string_, &this_len, &this_str); |
| 3281 | return this_len; |
| 3282 | } |
| 3283 | #endif |
| 3284 | |
| 3285 | bool Value::getString(char const **begin, char const **end) const |
nothing calls this directly
no test coverage detected