4 #include "CoralBase/Blob.h" 8 #include <openssl/sha.h> 12 m_data( new
coral::Blob(0) ){
22 ::memcpy(
m_data->startingAddress(), data.startingAddress(), data.size() );
41 m_data.reset(
new coral::Blob( source.size() ) );
42 ::memcpy(
m_data->startingAddress(), source.c_str(), source.size() );
47 return m_data->startingAddress();
51 return m_data->startingAddress();
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
static std::string const source