10Duke Enterprise C++ Client
|
#include <BinaryData.h>
A holder of binary data.
Public Member Functions | |
virtual unsigned char * | getData () const =0 |
Returns the data. | |
virtual std::size_t | getLength () const =0 |
Returns the length of data in bytes. | |
|
pure virtual |
Returns the data.
DO NOT free() or delete() this: The class maintains the data. The data is mutable.
Implemented in tenduke::utl::FixedSizeBinaryData, and tenduke::utl::SimpleBuffer.
|
pure virtual |
Returns the length of data in bytes.
Implemented in tenduke::utl::FixedSizeBinaryData, and tenduke::utl::SimpleBuffer.