BloombergLP::bdlbb::Blob::removeUnusedBuffers

Remove any unused capacity buffers from this blob. Note that this method does not trim the last data buffer, and that the resulting totalSize will be length plus any unused capacity in the last buffer having data.

Synopsis

Declared in <bdlbb_blob.h>

void
removeUnusedBuffers();