BloombergLP::bdlbb::Blob::removeUnusedBuffers

Remove any unused capacity buffers from this blob.

Synopsis

Declared in <bdlbb_blob.h>

void
removeUnusedBuffers();

Description

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.