| 34 | |
| 35 | template <typename TStringType> |
| 36 | static bool IsHexNumberT(const TStringType& s) noexcept { |
| 37 | if (s.empty()) { |
| 38 | return false; |
| 39 | } |
| 40 | |
| 41 | return std::all_of(s.begin(), s.end(), IsAsciiHex<typename TStringType::value_type>); |
| 42 | } |
| 43 | |
| 44 | bool IsHexNumber(const TStringBuf s) noexcept { |
| 45 | return IsHexNumberT(s); |
no test coverage detected