Ability to get buffer from inputmessage

This commit is contained in:
Shawak 2014-03-22 18:07:13 +01:00
parent 8179915e06
commit 07e40afa3d
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public:
InputMessage();
void setBuffer(const std::string& buffer);
void setBuffer(const std::string& buffer);
std::string getBuffer() { return std::string((char*)m_buffer + m_headerPos, m_messageSize); }
void skipBytes(uint16 bytes) { m_readPos += bytes; }