Files
U2FDevice/Field.tpp
2018-08-05 19:32:07 +00:00

9 lines
182 B
C++

#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));
}