fix(hash): str_size was added to isValid

This commit is contained in:
2024-09-16 22:02:51 +03:00
parent 1993ee410d
commit 9516a3da63
3 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@
namespace hex
{
bool isValid(const char *str) noexcept;
bool isValid(const char *str, size_t str_size) noexcept;
bool isValid(std::string_view str) noexcept;
void encode(const uint8_t *data, size_t data_size, char *str, size_t str_size);