9 #define MAGICKCORE_IMPLEMENTATION  1    10 #define MAGICK_PLUSPLUS_IMPLEMENTATION 1    30   : _blobRef(blob_._blobRef)
    40     if (_blobRef->decrease() == 0)
    55       if (_blobRef->decrease() == 0)
    58       _blobRef=blob_._blobRef;
    71   decoded=Base64Decode(base64_.c_str(),&length);
    74     updateNoCopy(static_cast<void*>(decoded),length,
    90   encoded=Base64Encode(static_cast<const unsigned char*>(data()),length(),
    95       result=std::string(encoded,encoded_length);
    96       encoded=(
char *) RelinquishMagickMemory(encoded);
   100   return(std::string());
   105   return(_blobRef->data);
   110   return(_blobRef->length);
   115   if (_blobRef->decrease() == 0)
   124   if (_blobRef->decrease() == 0)
   128   _blobRef->data=data_;
   129   _blobRef->length=length_;
   130   _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