R-Type
Namespaces | Functions
Serialization.hpp File Reference
#include <asio.hpp>
#include <vector>
#include <cstddef>
#include <cstring>

Go to the source code of this file.

Namespaces

 Serialization
 

Functions

template<typename Data >
std::vector< std::byte > Serialization::serializeData (Data data, std::size_t size)
 Template to serialize the data. More...
 
template<typename Data >
Data Serialization::deserializeData (asio::streambuf &buffer, std::size_t size)
 Template to deserialize the data. More...