LibNRG  0.0.1
Networking for Real-time Games library
 All Classes Files Functions Variables Friends
nrg::TVarint< T, typename std::enable_if< std::is_unsigned< T >::value >::type > Struct Template Reference

Varint template specialisation for unsigned types.

#include <nrg_varint.h>

Public Member Functions

 TVarint (const T &t)
 
size_t requiredBytes (void) const
 
size_t encode (Packet &p) const
 
size_t decode (Packet &p)
 
quickDecode (Packet &p)
 
 operator T () const
 
get () const
 

Public Attributes

data
 

The documentation for this struct was generated from the following file: