1#ifndef TENDUKE_UTL_SIMPLEBUFFER_H
2#define TENDUKE_UTL_SIMPLEBUFFER_H
4#include "./BinaryData.h"
23 virtual void append(
unsigned char *newData,
size_t newDataLength);
26 unsigned char *
getData()
const override {
return data;}
27 std::size_t
getLength()
const override {
return length;}
A holder of binary data.
Definition BinaryData.h:13
Simple extensible binary buffer.
Definition SimpleBuffer.h:13
unsigned char * getData() const override
Returns the data.
Definition SimpleBuffer.h:26
virtual void append(unsigned char *newData, size_t newDataLength)
Appends data to the buffer.
Definition SimpleBuffer.cpp:21
std::size_t getLength() const override
Returns the length of data in bytes.
Definition SimpleBuffer.h:27
Utilities.
Definition Base64Decoder.h:10
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4