Append a range of buffers from source onto dest without copying.
Declared in <bdlbb_blobutil.h>
static
void
append(
Blob* dest,
Blob const& source,
int offset,
int length);
Append the specified length bytes from the specified offset in the specified source to the specified dest. Note that the data memory from source is not copied, but rather new BlobBuffers referring to the same data memory are created and appended to dest, hence dest is not required to have a BlobBufferFactory.
| Name | Description |
|---|---|
| dest | destination blob |
| source | source blob whose buffers are shared into dest |
| offset | starting byte offset in source |
| length | number of bytes to append from source |