LuciadCPillar 2024.0.08
|
Represents a blob of data. More...
#include <luciad/containers/DataEntity.h>
Public Member Functions | |
DataEntity (luciad::ByteBuffer data, std::string mimeType) | |
Constructs the data entity. More... | |
const luciad::ByteBuffer & | getData () const |
Returns the data. More... | |
const std::string & | getMimeType () const |
Returns the mime-type of the data. More... | |
Represents a blob of data.
A binary large object is a collection of binary data stored as a single entity. Blobs are typically images, audio or other multimedia objects.
The mime-type indicates how to interpret the data 'blob'.
luciad::DataEntity::DataEntity | ( | luciad::ByteBuffer | data, |
std::string | mimeType | ||
) |
Constructs the data entity.
data | the data. |
mimeType | the mime-type of the data. |
const luciad::ByteBuffer & luciad::DataEntity::getData | ( | ) | const |
Returns the data.
const std::string & luciad::DataEntity::getMimeType | ( | ) | const |
Returns the mime-type of the data.