10Duke Enterprise C++ Client
|
#include <SimpleBuffer.h>
Simple extensible binary buffer.
Public Member Functions | |
virtual void | append (unsigned char *newData, size_t newDataLength) |
Appends data to the buffer. | |
unsigned char * | getData () const override |
Returns the data. | |
std::size_t | getLength () const override |
Returns the length of data in bytes. | |
|
virtual |
Appends data to the buffer.
newData | data to append |
newDataLength | length of the data to append in bytes. |
|
inlineoverridevirtual |
Returns the data.
DO NOT free() or delete() this: The class maintains the data. The data is mutable.
Implements tenduke::utl::BinaryData.
|
inlineoverridevirtual |
Returns the length of data in bytes.
Implements tenduke::utl::BinaryData.