MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / decodeNumber

Method decodeNumber

json/jsoncpp.cpp:793–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

791}
792
793bool Reader::decodeNumber(Token& token) {
794 Value decoded;
795 if (!decodeNumber(token, decoded))
796 return false;
797 currentValue().swapPayload(decoded);
798 currentValue().setOffsetStart(token.start_ - begin_);
799 currentValue().setOffsetLimit(token.end_ - begin_);
800 return true;
801}
802
803bool Reader::decodeNumber(Token& token, Value& decoded) {
804 // 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