10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::utl::BinaryData Class Referenceabstract

#include <BinaryData.h>

Detailed Description

A holder of binary data.

Inheritance diagram for tenduke::utl::BinaryData:
tenduke::utl::FixedSizeBinaryData tenduke::utl::SimpleBuffer

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.
 

Member Function Documentation

◆ getData()

virtual unsigned char * tenduke::utl::BinaryData::getData ( ) const
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.

◆ getLength()

virtual std::size_t tenduke::utl::BinaryData::getLength ( ) const
pure virtual

Returns the length of data in bytes.

Implemented in tenduke::utl::FixedSizeBinaryData, and tenduke::utl::SimpleBuffer.


The documentation for this class was generated from the following file: