| 3144 | |
| 3145 | #if JSONCPP_USING_SECURE_MEMORY |
| 3146 | unsigned Value::getCStringLength() const { |
| 3147 | JSON_ASSERT_MESSAGE(type_ == stringValue, |
| 3148 | "in Json::Value::asCString(): requires stringValue"); |
| 3149 | if (value_.string_ == 0) return 0; |
| 3150 | unsigned this_len; |
| 3151 | char const* this_str; |
| 3152 | decodePrefixedString(this->allocated_, this->value_.string_, &this_len, &this_str); |
| 3153 | return this_len; |
| 3154 | } |
| 3155 | #endif |
| 3156 | |
| 3157 | bool Value::getString(char const** str, char const** cend) const { |
nothing calls this directly
no test coverage detected