feat(base64, hex): alphabet moved to public interface as extern var
This commit is contained in:
@ -7,6 +7,9 @@
|
||||
|
||||
namespace base64
|
||||
{
|
||||
extern const char digits[65];
|
||||
extern const int8_t map[256];
|
||||
|
||||
bool isValid(const char *str, uint64_t str_size) noexcept;
|
||||
bool isValid(std::string_view str) noexcept;
|
||||
|
||||
|
||||
@ -7,6 +7,9 @@
|
||||
|
||||
namespace hex
|
||||
{
|
||||
extern const char digits[17];
|
||||
extern const int8_t map[256];
|
||||
|
||||
bool isValid(const char *str, uint64_t str_size) noexcept;
|
||||
bool isValid(std::string_view str) noexcept;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user