feat(hex): overloading uint8_t *
This commit is contained in:
@ -6,7 +6,10 @@
|
||||
|
||||
namespace hex
|
||||
{
|
||||
bool isValid(const char *str) noexcept;
|
||||
bool isValid(const std::string &str) noexcept;
|
||||
void encode(const uint8_t *data, uint64_t data_size, char *str) noexcept;
|
||||
std::string encode(const std::vector<uint8_t> &data) noexcept;
|
||||
void decode(const char *str, uint8_t *data, uint64_t data_size);
|
||||
std::vector<uint8_t> decode(const std::string &str);
|
||||
}
|
||||
Reference in New Issue
Block a user