aether::netcode::transcode::optional_struct_coder_impl< T, index, struct_member< BM T::*, bit_mask_ptr, BitMaskCoder >, struct_member< S T::*, ptr, Coder >, Rest... > Struct Template Referencefinal

#include <transcode.hh>

Public Member Functions

bool encode (const T &input, bit_appender &w)
 
bool decode (BM bit_mask, bit_stream &r, T &out)
 

Member Function Documentation

template<typename T , typename S , typename BM , int index, typename BitMaskCoder , BM T::* bit_mask_ptr, S T::* ptr, typename Coder , typename... Rest>
bool aether::netcode::transcode::optional_struct_coder_impl< T, index, struct_member< BM T::*, bit_mask_ptr, BitMaskCoder >, struct_member< S T::*, ptr, Coder >, Rest... >::decode ( BM  bit_mask,
bit_stream r,
T &  out 
)
inline
template<typename T , typename S , typename BM , int index, typename BitMaskCoder , BM T::* bit_mask_ptr, S T::* ptr, typename Coder , typename... Rest>
bool aether::netcode::transcode::optional_struct_coder_impl< T, index, struct_member< BM T::*, bit_mask_ptr, BitMaskCoder >, struct_member< S T::*, ptr, Coder >, Rest... >::encode ( const T &  input,
bit_appender w 
)
inline