| 601 | |
| 602 | #if JSONCPP_USING_SECURE_MEMORY |
| 603 | unsigned Value::getCStringLength() const { |
| 604 | JSON_ASSERT_MESSAGE(type() == stringValue, |
| 605 | "in Json::Value::asCString(): requires stringValue"); |
| 606 | if (value_.string_ == 0) |
| 607 | return 0; |
| 608 | unsigned this_len; |
| 609 | char const* this_str; |
| 610 | decodePrefixedString(this->isAllocated(), this->value_.string_, &this_len, |
| 611 | &this_str); |
| 612 | return this_len; |
| 613 | } |
| 614 | #endif |
| 615 | |
| 616 | bool Value::getString(char const** begin, char const** end) const { |
nothing calls this directly
no test coverage detected