MCPcopy Create free account
hub / github.com/Illumina/hap.py / decodeString

Method decodeString

external/jsoncpp/jsoncpp.cpp:784–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

782}
783
784bool Reader::decodeString(Token &token) {
785 std::string decoded;
786 if (!decodeString(token, decoded))
787 return false;
788 currentValue() = decoded;
789 currentValue().setOffsetStart(token.start_ - begin_);
790 currentValue().setOffsetLimit(token.end_ - begin_);
791 return true;
792}
793
794bool Reader::decodeString(Token &token, std::string &decoded) {
795 decoded.reserve(token.end_ - token.start_ - 2);

Callers

nothing calls this directly

Calls 3

codePointToUTF8Function · 0.85
setOffsetStartMethod · 0.80
setOffsetLimitMethod · 0.80

Tested by

no test coverage detected