#ifndef SERIALIZER_HPP #define SERIALIZER_HPP #ifdef _MSC_VER #pragma once #endif #include "Defs.hpp" struct Serializer { template static const std::vector &to_bytes(const T &object); template static const T &from_bytes(byte *bytes, T &object); }; #endif