32 : m_bufSize(other.m_bufSize), m_data(other.m_data)
37 other.m_data =
nullptr;
82 other.m_data =
nullptr;
size_t m_bufSize
Stores the size of this buffer's memory block.
char * m_data
Stores a pointer to this buffer's memory block.
Buffer & operator=(const Buffer &other)
Creates a copy of the given buffer, and assigns that to this buffer.
A buffer of bytes, with a fixed size.
Buffer()
Creates a buffer class that manages an empty block of memory.