MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / decodeString

Method decodeString

Source/JSON/jsoncpp.cpp:755–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753}
754
755bool Reader::decodeString(Token& token) {
756 std::string decoded_string;
757 if (!decodeString(token, decoded_string))
758 return false;
759 Value decoded(decoded_string);
760 currentValue().swapPayload(decoded);
761 return true;
762}
763
764bool Reader::decodeString(Token& token, std::string& decoded) {
765 decoded.reserve(token.end_ - token.start_ - 2);

Callers

nothing calls this directly

Calls 3

codePointToUTF8Function · 0.70
swapPayloadMethod · 0.45
reserveMethod · 0.45

Tested by

no test coverage detected