| 675 | |
| 676 | #if JSONCPP_USING_SECURE_MEMORY |
| 677 | unsigned Value::getCStringLength() const { |
| 678 | JSON_ASSERT_MESSAGE(type_ == stringValue, |
| 679 | "in Json::Value::asCString(): requires stringValue"); |
| 680 | if (value_.string_ == 0) return 0; |
| 681 | unsigned this_len; |
| 682 | char const* this_str; |
| 683 | decodePrefixedString(this->allocated_, this->value_.string_, &this_len, &this_str); |
| 684 | return this_len; |
| 685 | } |
| 686 | #endif |
| 687 | |
| 688 | bool Value::getString(char const** str, char const** cend) const { |
nothing calls this directly
no test coverage detected