#include <packet.h>
Public Member Functions | |
| Packet () | |
| Packet (const char *raw) | |
| ~Packet () | |
| void | DumpRaw (char *&pckt, unsigned int &len) |
| void | Push (const char *buf, unsigned int len) |
| void | Push (std::string str) |
| void | Push (int no) |
| void | Push (unsigned int no) |
| void | Push (long no) |
| void | Push (unsigned long no) |
| char * | PopBin (unsigned int &len) |
| std::string | PopString () |
| int | PopInt () |
| unsigned int | PopUInt () |
| long | PopLong () |
| unsigned long | PopULong () |
Definition at line 5 of file packet.h.
| Packet::Packet | ( | ) |
Definition at line 8 of file packet.cpp.
| Packet::Packet | ( | const char * | raw | ) |
Definition at line 15 of file packet.cpp.
| Packet::~Packet | ( | ) |
Definition at line 24 of file packet.cpp.
| void Packet::DumpRaw | ( | char *& | pckt, | |
| unsigned int & | len | |||
| ) |
Definition at line 204 of file packet.cpp.
| char * Packet::PopBin | ( | unsigned int & | len | ) |
Definition at line 79 of file packet.cpp.
| int Packet::PopInt | ( | ) |
Definition at line 128 of file packet.cpp.
| long Packet::PopLong | ( | ) |
Definition at line 166 of file packet.cpp.
| std::string Packet::PopString | ( | ) |
Definition at line 104 of file packet.cpp.
| unsigned int Packet::PopUInt | ( | ) |
Definition at line 147 of file packet.cpp.
| unsigned long Packet::PopULong | ( | ) |
Definition at line 185 of file packet.cpp.
| void Packet::Push | ( | unsigned long | no | ) |
Definition at line 71 of file packet.cpp.
| void Packet::Push | ( | long | no | ) |
Definition at line 63 of file packet.cpp.
| void Packet::Push | ( | unsigned int | no | ) |
Definition at line 55 of file packet.cpp.
| void Packet::Push | ( | int | no | ) |
Definition at line 47 of file packet.cpp.
| void Packet::Push | ( | std::string | str | ) |
Definition at line 42 of file packet.cpp.
| void Packet::Push | ( | const char * | buf, | |
| unsigned int | len | |||
| ) |
Definition at line 30 of file packet.cpp.
1.5.8