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:221
RVNGInputStream * getDataStream() const
Create a stream for the data.
Definition RVNGBinaryData.cpp:241
const unsigned char * getDataBuffer() const
Get the data buffer.
Definition RVNGBinaryData.cpp:227
bool empty() const
Test if the content is empty.
Definition RVNGBinaryData.cpp:216
RVNGBinaryData()
Definition RVNGBinaryData.cpp:109
const RVNGString getBase64Data() const
Get the content encoded as base64.
Definition RVNGBinaryData.cpp:234
void append(const RVNGBinaryData &data)
Definition RVNGBinaryData.cpp:152
void clear()
Remove current content.
Definition RVNGBinaryData.cpp:204
void appendBase64Data(const RVNGString &base64)
Definition RVNGBinaryData.cpp:162
unsigned long size() const
Get the size of the content in bytes.
Definition RVNGBinaryData.cpp:212
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:40
Definition RVNGBinaryData.cpp:81