insertBufferIfValid overloads
Declared in <bdlbb_blobutil.h>
Insert a moved buffer at an index in dest if size limits allow.
static
int
insertBufferIfValid(
Blob* dest,
int index,
bslmf::MovableRef<BlobBuffer> buffer);
» more...
Insert a buffer at an index in dest if size limits allow.
static
int
insertBufferIfValid(
Blob* dest,
int index,
BlobBuffer const& buffer);
» more...
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| dest | destination blob |
| index | buffer index at which to insert |
| buffer | buffer to move-insert |