aether::netcode::transcode::struct_coder< T, Spec > Struct Template Reference

Encode a C++ struct according to Spec. More...

#include <transcode.hh>

Detailed Description

template<typename T, typename... Spec>
struct aether::netcode::transcode::struct_coder< T, Spec >

Encode a C++ struct according to Spec.

Spec must be a list of struct_members. struct members will be encoded into the bit_appender in the order they appear in the Spec.