18 #ifndef __MESSAGEBUFFER_H_
19 #define __MESSAGEBUFFER_H_
92 void Write(
void const* data, std::size_t size)
MessageBuffer(MessageBuffer const &right)
Definition: MessageBuffer.h:39
std::vector< uint8 > && Move()
Definition: MessageBuffer.h:101
size_type GetRemainingSpace() const
Definition: MessageBuffer.h:68
MessageBuffer & operator=(MessageBuffer const &right)
Definition: MessageBuffer.h:108
MessageBuffer()
Definition: MessageBuffer.h:29
std::vector< uint8 >::size_type size_type
Definition: MessageBuffer.h:26
MessageBuffer & operator=(MessageBuffer &&right)
Definition: MessageBuffer.h:120
uint8 * GetBasePointer()
Definition: MessageBuffer.h:56
uint8 * GetWritePointer()
Definition: MessageBuffer.h:60
std::vector< uint8 > _storage
Definition: MessageBuffer.h:135
void WriteCompleted(size_type bytes)
Definition: MessageBuffer.h:64
void EnsureFreeSpace()
Definition: MessageBuffer.h:85
void ReadCompleted(size_type bytes)
Definition: MessageBuffer.h:62
size_type _wpos
Definition: MessageBuffer.h:133
void Write(void const *data, std::size_t size)
Definition: MessageBuffer.h:92
size_type GetBufferSize() const
Definition: MessageBuffer.h:70
size_type GetActiveSize() const
Definition: MessageBuffer.h:66
void Resize(size_type bytes)
Definition: MessageBuffer.h:51
void Reset()
Definition: MessageBuffer.h:45
MessageBuffer(std::size_t initialSize)
Definition: MessageBuffer.h:34
MessageBuffer(MessageBuffer &&right)
Definition: MessageBuffer.h:43
uint8_t uint8
Definition: Define.h:152
size_type _rpos
Definition: MessageBuffer.h:134
void Normalize()
Definition: MessageBuffer.h:73
uint8 * GetReadPointer()
Definition: MessageBuffer.h:58
Definition: MessageBuffer.h:24