20#ifndef RVNGBINARYDATA_H
21#define RVNGBINARYDATA_H
42 RVNGBinaryData(
const unsigned char *buffer,
const unsigned long bufferSize);
48 void append(
const unsigned char *buffer,
const unsigned long bufferSize);
49 void append(
const unsigned char c);
61 unsigned long size()
const;
RVNGBinaryData & operator=(const RVNGBinaryData &)
Assign the content of another RVNGBinaryData object.
Definition RVNGBinaryData.cpp:228
RVNGInputStream * getDataStream() const
Create a stream for the data.
Definition RVNGBinaryData.cpp:255
const unsigned char * getDataBuffer() const
Get the data buffer.
Definition RVNGBinaryData.cpp:240
bool empty() const
Test if the content is empty.
Definition RVNGBinaryData.cpp:223
RVNGBinaryData()
Definition RVNGBinaryData.cpp:110
const RVNGString getBase64Data() const
Get the content encoded as base64.
Definition RVNGBinaryData.cpp:247
void append(const RVNGBinaryData &data)
Definition RVNGBinaryData.cpp:159
void clear()
Remove current content.
Definition RVNGBinaryData.cpp:211
void appendBase64Data(const RVNGString &base64)
Definition RVNGBinaryData.cpp:169
unsigned long size() const
Get the size of the content in bytes.
Definition RVNGBinaryData.cpp:219
RVNGBinaryDataImpl * m_binaryDataImpl
Definition RVNGBinaryData.h:104
UTF-8 string.
Definition RVNGString.h:35
#define REVENGE_API
Definition librevenge-api.h:34
Definition RVNGBinaryData.cpp:41
Definition RVNGBinaryData.cpp:82