MCPcopy Create free account
hub / github.com/Samsung/ONE / decodeString

Method decodeString

runtime/3rdparty/jsoncpp/jsoncpp.cpp:920–930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

918}
919
920bool Reader::decodeString(Token &token)
921{
922 String decoded_string;
923 if (!decodeString(token, decoded_string))
924 return false;
925 Value decoded(decoded_string);
926 currentValue().swapPayload(decoded);
927 currentValue().setOffsetStart(token.start_ - begin_);
928 currentValue().setOffsetLimit(token.end_ - begin_);
929 return true;
930}
931
932bool Reader::decodeString(Token &token, String &decoded)
933{

Callers

nothing calls this directly

Calls 4

codePointToUTF8Function · 0.85
swapPayloadMethod · 0.80
setOffsetStartMethod · 0.80
setOffsetLimitMethod · 0.80

Tested by

no test coverage detected