MCPcopy Create free account
hub / github.com/couchbase/fleece / ParseInteger

Function ParseInteger

Fleece/Support/NumConversion.cc:49–55  ·  view source on GitHub ↗

Unsigned version:

Source from the content-addressed store, hash-verified

47
48 // Unsigned version:
49 bool ParseInteger(const char *str NONNULL, uint64_t &result, bool allowTrailing) {
50 while (isspace(*str))
51 ++str;
52 if (*str == '+')
53 ++str;
54 return _parseUInt(str, result, allowTrailing);
55 }
56
57
58 // Signed version:

Callers 3

EncoderTests.ccFile · 0.85
ParseUnsignedIntegerFunction · 0.85
popMethod · 0.85

Calls 1

_parseUIntFunction · 0.85

Tested by

no test coverage detected