MCPcopy Create free account
hub / github.com/Snapchat/Valdi / parseUInt

Method parseUInt

valdi_core/src/valdi_core/cpp/Utils/TextParser.cpp:178–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178std::optional<uint32_t> TextParser::parseUInt() {
179 uint32_t i;
180
181 if (!parseUInt(i)) {
182 return std::nullopt;
183 }
184
185 return i;
186}
187
188std::optional<long long> TextParser::parseHexLong() {
189 long long l;

Callers 1

parseComponentsFunction · 0.45

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected