BloombergLP::bdlbb::Blob::moveBuffers

Replace this blob's buffers by moving all buffers from srcBlob.

Synopsis

Declared in <bdlbb_blob.h>

void
moveBuffers(Blob* srcBlob);

Description

Remove all blob buffers from this blob and move the buffers held by the specified srcBlob to this blob. Note that this method is logically equivalent to: ` *this = *srcBlob; srcBlob->removeAll(); ` but its implementation is more efficient.

Parameters

NameDescription
srcBlobblob whose buffers are moved into this blob