4 #include "CoralBase/Blob.h" 8 #include <openssl/sha.h> 18 ::memcpy(
m_data->startingAddress(),
data.startingAddress(),
data.size());
33 m_data.reset(
new coral::Blob(
source.size()));
34 ::memcpy(m_data->startingAddress(),
source.c_str(),
source.size());
40 return m_data->startingAddress();
45 return m_data->startingAddress();
51 return m_data->size();
void throwException(const std::string &message, const std::string &methodName)
std::shared_ptr< coral::Blob > m_data
Binary & operator=(const Binary &rhs)
void copy(const std::string &source)
const void * data() const
const coral::Blob & get() const
char data[epos_bytes_allocation]
static std::string const source