neoGFX
Cross-platform C++ app/game engine
|
#include <data_packet.hpp>
Public Member Functions | |
void | encode (uint8_t aValue) |
void | encode (uint16_t aValue) |
void | encode (uint32_t aValue) |
void | encode (uint64_t aValue) |
void | encode (int8_t aValue) |
void | encode (int16_t aValue) |
void | encode (int32_t aValue) |
void | encode (int64_t aValue) |
void | encode (int64_t aValue, std::size_t aLength) |
virtual void | encode (uint64_t aValue, std::size_t aLength)=0 |
virtual void | encode (bool aValue)=0 |
virtual void | encode (const string_type &aValue)=0 |
template<typename T > | |
T | decode () const |
virtual uint64_t | decode_integer (std::size_t aLength) const =0 |
virtual bool | decode_bool () const =0 |
virtual string_type | decode_string () const =0 |
Definition at line 60 of file data_packet.hpp.
typedef base_type::character_type neolib::basic_data_packet< CharType >::character_type |
Definition at line 66 of file data_packet.hpp.
typedef base_type::const_iterator neolib::basic_data_packet< CharType >::const_iterator |
Definition at line 70 of file data_packet.hpp.
typedef base_type::const_pointer neolib::basic_data_packet< CharType >::const_pointer |
Definition at line 67 of file data_packet.hpp.
typedef base_type::iterator neolib::basic_data_packet< CharType >::iterator |
Definition at line 71 of file data_packet.hpp.
typedef base_type::pointer neolib::basic_data_packet< CharType >::pointer |
Definition at line 68 of file data_packet.hpp.
typedef base_type::size_type neolib::basic_data_packet< CharType >::size_type |
Definition at line 69 of file data_packet.hpp.
typedef std::basic_string<CharType> neolib::basic_data_packet< CharType >::string_type |
Definition at line 72 of file data_packet.hpp.
|
inline |
Definition at line 115 of file data_packet.hpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in neolib::basic_binary_data_packet< CharType, PacketTraits >.
|
inline |
Definition at line 95 of file data_packet.hpp.
|
inline |
Definition at line 99 of file data_packet.hpp.
|
inline |
Definition at line 103 of file data_packet.hpp.
|
inline |
Definition at line 107 of file data_packet.hpp.
|
inline |
Definition at line 91 of file data_packet.hpp.
|
inline |
Definition at line 79 of file data_packet.hpp.
|
inline |
Definition at line 83 of file data_packet.hpp.
|
inline |
Definition at line 87 of file data_packet.hpp.
|
pure virtual |
|
inline |
Definition at line 75 of file data_packet.hpp.