20 m_Data = std::make_unique<unsigned char[]>(m_MaxSize);
43 "] bytes which is more than the maximum size of the buffer [" + std::to_string(m_MaxSize) +
"]");
void Commit(unsigned int size) override
unsigned int GetSize() const override
PacketBuffer(unsigned int maxSize)
unsigned char * GetWritableData() override
const unsigned char * GetReadableData() const override