summaryrefslogtreecommitdiff
path: root/src/common/hex_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/hex_util.h')
-rw-r--r--src/common/hex_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/hex_util.h b/src/common/hex_util.h
index 13d586015..5fb79bb72 100644
--- a/src/common/hex_util.h
+++ b/src/common/hex_util.h
@@ -10,6 +10,8 @@
10#include <fmt/format.h> 10#include <fmt/format.h>
11#include "common/common_types.h" 11#include "common/common_types.h"
12 12
13namespace Common {
14
13u8 ToHexNibble(char c1); 15u8 ToHexNibble(char c1);
14 16
15template <size_t Size, bool le = false> 17template <size_t Size, bool le = false>
@@ -35,3 +37,5 @@ std::string HexArrayToString(std::array<u8, Size> array, bool upper = true) {
35 37
36std::array<u8, 0x10> operator"" _array16(const char* str, size_t len); 38std::array<u8, 0x10> operator"" _array16(const char* str, size_t len);
37std::array<u8, 0x20> operator"" _array32(const char* str, size_t len); 39std::array<u8, 0x20> operator"" _array32(const char* str, size_t len);
40
41} // namespace Common