Reduce this buffer to the specified toSize and return the leftover.
Synopsis
Declared in <bdlbb_blob.h>
BlobBuffer
trim(int toSize);
Description
The behaviour is undefined unless '0 <= toSize && toSize <= size()'.
Return Value
a blob buffer representing the leftover portion
Parameters
Name |
Description |
toSize |
new size of this buffer, in bytes |
Created with MrDocs