| 21 | } |
| 22 | |
| 23 | bool 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 | |
| 28 | std::vector<std::string> utils::splitString(const std::string &str, const std::string &splits) { |
| 29 | std::vector<std::string> res; |