11 #define MAGICKCORE_IMPLEMENTATION  1    12 #define MAGICK_PLUSPLUS_IMPLEMENTATION 1    32   : _blobRef(blob_._blobRef)
    42     if (_blobRef->decrease() == 0)
    57       if (_blobRef->decrease() == 0)
    60       _blobRef=blob_._blobRef;
    73   decoded=Base64Decode(base64_.c_str(),&length);
    76     updateNoCopy(static_cast<void*>(decoded),length,
    92   encoded=Base64Encode(static_cast<const unsigned char*>(data()),length(),
    97       result=std::string(encoded,encoded_length);
    98       encoded=(
char *) RelinquishMagickMemory(encoded);
   102   return(std::string());
   107   return(_blobRef->data);
   112   return(_blobRef->length);
   117   if (_blobRef->decrease() == 0)
   126   if (_blobRef->decrease() == 0)
   130   _blobRef->data=data_;
   131   _blobRef->length=length_;
   132   _blobRef->allocator=allocator_;
 
Blob & operator=(const Blob &blob_)
void updateNoCopy(void *data_, const size_t length_, const Allocator allocator_=NewAllocator)
std::string base64(void) const
const void * data(void) const
void update(const void *data_, const size_t length_)
size_t length(void) const