add span equality and span for bin2hex
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
#include "./span.hpp"
|
||||
|
||||
[[nodiscard]] std::vector<uint8_t> hex2bin(const std::string& str);
|
||||
[[nodiscard]] std::vector<uint8_t> hex2bin(const std::string_view str);
|
||||
[[nodiscard]] std::string bin2hex(const ByteSpan bin);
|
||||
[[nodiscard]] std::string bin2hex(const std::vector<uint8_t>& bin);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user