MCPcopy Create free account
hub / github.com/cinit/TMoe / parseUInt64

Method parseUInt64

app/src/main/cpp/utils/TextUtils.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23bool utils::parseUInt64(uint64_t *result, std::string_view str, int base) {
24 auto ret = std::from_chars(str.data(), str.data() + str.size(), *result, base);
25 return int(ret.ec) == 0;
26}
27
28std::vector<std::string> utils::splitString(const std::string &str, const std::string &splits) {
29 std::vector<std::string> res;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected