Ability to get buffer from inputmessage
This commit is contained in:
parent
8179915e06
commit
07e40afa3d
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue