20#ifndef RVNGBINARYDATA_H
21#define RVNGBINARYDATA_H
41 RVNGBinaryData(
const unsigned char *buffer,
const unsigned long bufferSize);
47 void append(
const unsigned char *buffer,
const unsigned long bufferSize);
48 void append(
const unsigned char c);
60 unsigned long size()
const;
RVNGBinaryData & operator=(const RVNGBinaryData &)
Assign the content of another RVNGBinaryData object.
Definition RVNGBinaryData.cpp:218
RVNGInputStream * getDataStream() const
Create a stream for the data.
Definition RVNGBinaryData.cpp:238
const unsigned char * getDataBuffer() const
Get the data buffer.
Definition RVNGBinaryData.cpp:224
bool empty() const
Test if the content is empty.
Definition RVNGBinaryData.cpp:213
RVNGBinaryData()
Definition RVNGBinaryData.cpp:108
const RVNGString getBase64Data() const
Get the content encoded as base64.
Definition RVNGBinaryData.cpp:231
void append(const RVNGBinaryData &data)
Definition RVNGBinaryData.cpp:149
void clear()
Remove current content.
Definition RVNGBinaryData.cpp:201
void appendBase64Data(const RVNGString &base64)
Definition RVNGBinaryData.cpp:159
unsigned long size() const
Get the size of the content in bytes.
Definition RVNGBinaryData.cpp:209
RVNGBinaryDataImpl * m_binaryDataImpl
Definition RVNGBinaryData.h:102
UTF-8 string.
Definition RVNGString.h:34
#define REVENGE_API
Definition librevenge-api.h:34
Definition RVNGBinaryData.cpp:39
Definition RVNGBinaryData.cpp:80