BloombergLP::bdlbb::Blob::moveAndAppendDataBuffers

Append to this blob by moving the data buffers held by srcBlob.

Synopsis

Declared in <bdlbb_blob.h>

void
moveAndAppendDataBuffers(Blob* srcBlob);

Description

Move the data buffers held by the specified srcBlob to this blob, appending them to the current data buffers of this blob. The behavior is undefined unless the total size of the resulting blob and the total number of buffers in this blob are less than or equal to INT_MAX.

Parameters

NameDescription
srcBlobblob whose data buffers are moved and appended