|
R-Type 0.1
|
Splits the body of a connected packet into messages. More...
#include <protocol/MessageParser.hpp>
Static Public Member Functions | |
| static bool | parse (PacketReader &reader, std::vector< ParsedMessage > &messages) |
| Parses every message until the end of the reader. | |
Splits the body of a connected packet into messages.
|
static |
Parses every message until the end of the reader.
| reader | Buffer positioned right after the packet header. |
| messages | Receives the messages, left untouched on failure. |