Implemented authentication.

Near feature complete.
This commit is contained in:
2018-08-05 19:32:07 +00:00
parent a14dddfc05
commit da9a91681c
29 changed files with 816 additions and 99 deletions

8
Field.tpp Normal file
View File

@@ -0,0 +1,8 @@
#pragma once
#include "Field.hpp"
template <typename Type>
std::vector<uint8_t> beEncode(const Type val)
{
return beEncode(reinterpret_cast<const uint8_t *>(&val), sizeof(val));
}