feat(hex): overloading uint8_t *

This commit is contained in:
2024-09-11 20:37:14 +03:00
parent 6fa7c79169
commit dfb9e4e7af
3 changed files with 36 additions and 15 deletions

View File

@ -6,7 +6,7 @@ namespace baseN
{
bool isValid(const char *str, const int8_t *map) noexcept
{
uint8_t i = 0;
uint64_t i = 0;
while (str[i] != '\0')
{
if (map[(int8_t)str[i]] == -1)