common: Namespace hex_util.h/.cpp

It's in the common code, so it should be under the Common namespace like
everything else.
This commit is contained in:
Lioncash 2018-08-15 23:16:11 -04:00
parent c594ec3417
commit b39cd70cd4
4 changed files with 22 additions and 12 deletions

View file

@ -10,6 +10,8 @@
#include <fmt/format.h>
#include "common/common_types.h"
namespace Common {
u8 ToHexNibble(char c1);
template <size_t Size, bool le = false>
@ -35,3 +37,5 @@ std::string HexArrayToString(std::array<u8, Size> array, bool upper = true) {
std::array<u8, 0x10> operator"" _array16(const char* str, size_t len);
std::array<u8, 0x20> operator"" _array32(const char* str, size_t len);
} // namespace Common