MCPcopy Create free account
hub / github.com/PlayFab/gsdk / decodeNumber

Method decodeNumber

cpp/cppsdk/jsoncpp.cpp:791–799  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789}
790
791bool Reader::decodeNumber(Token& token) {
792 Value decoded;
793 if (!decodeNumber(token, decoded))
794 return false;
795 currentValue().swapPayload(decoded);
796 currentValue().setOffsetStart(token.start_ - begin_);
797 currentValue().setOffsetLimit(token.end_ - begin_);
798 return true;
799}
800
801bool Reader::decodeNumber(Token& token, Value& decoded) {
802 // Attempts to parse the number as an integer. If the number is

Callers

nothing calls this directly

Calls 3

swapPayloadMethod · 0.80
setOffsetStartMethod · 0.80
setOffsetLimitMethod · 0.80

Tested by

no test coverage detected