MCPcopy Create free account
hub / github.com/ComodoSecurity/openedr / decodeNumber

Method decodeNumber

edrav2/eprj/jsoncpp/src/lib_json/json_reader.cpp:549–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549bool Reader::decodeNumber(Token& token) {
550 Value decoded;
551 if (!decodeNumber(token, decoded))
552 return false;
553 currentValue().swapPayload(decoded);
554 currentValue().setOffsetStart(token.start_ - begin_);
555 currentValue().setOffsetLimit(token.end_ - begin_);
556 return true;
557}
558
559bool Reader::decodeNumber(Token& token, Value& decoded) {
560 // 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