Steal buffer from SerializeBuffer now

This commit is contained in:
Michael Cook (mackal)
2018-07-08 23:03:53 -04:00
parent 2d456ba8c9
commit 4c6de9b991
5 changed files with 23 additions and 5 deletions
+2
View File
@@ -186,6 +186,8 @@ public:
size_t capacity() const { return m_capacity; }
const unsigned char *buffer() const { return m_buffer; }
friend class BasePacket;
private:
void Grow(size_t new_size);
void Reset();