[#BloombergLP-bdlbb-Blob-trimLastDataBuffer] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/Blob.adoc[Blob]::trimLastDataBuffer :relfileprefix: ../../../ :mrdocs: Set the size of the last data buffer to `lastDataBufferLength()`. If there are no data buffers, or if the last data buffer is full (i.e., its size is `lastDataBufferLength()`), then this method has no effect. Return the leftover of the trimmed buffer or default constructed `BlobBuffer` if nothing to trim. Note that the length of the blob is unchanged, and that capacity buffers (i.e., of indices `numDataBuffers()` and higher) are _not_ removed. == Synopsis Declared in `<bdlbb_blob.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlbb/BlobBuffer.adoc[BlobBuffer] trimLastDataBuffer(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#