fix(hex): str_size argument

This commit is contained in:
2024-09-17 12:31:15 +03:00
parent 1993ee410d
commit 0c28595bbf
3 changed files with 11 additions and 11 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);