diff options
Diffstat (limited to '')
| -rw-r--r-- | src/common/hex_util.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/hex_util.cpp b/src/common/hex_util.cpp index 5b63f9e81..c2f6cf0f6 100644 --- a/src/common/hex_util.cpp +++ b/src/common/hex_util.cpp | |||
| @@ -30,13 +30,6 @@ std::vector<u8> HexStringToVector(std::string_view str, bool little_endian) { | |||
| 30 | return out; | 30 | return out; |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | std::string HexVectorToString(const std::vector<u8>& vector, bool upper) { | ||
| 34 | std::string out; | ||
| 35 | for (u8 c : vector) | ||
| 36 | out += fmt::format(upper ? "{:02X}" : "{:02x}", c); | ||
| 37 | return out; | ||
| 38 | } | ||
| 39 | |||
| 40 | std::array<u8, 16> operator""_array16(const char* str, std::size_t len) { | 33 | std::array<u8, 16> operator""_array16(const char* str, std::size_t len) { |
| 41 | if (len != 32) { | 34 | if (len != 32) { |
| 42 | LOG_ERROR(Common, | 35 | LOG_ERROR(Common, |