Returns true if each character in str is a hex character, and has an even number of hex digits.
Declared in <util/strencodings.h>
bool
IsHex(std::string_view str);
true if str is a valid, even-length hex string, false otherwise.
| Name | Description |
|---|---|
| str | The string to check. |