[#BloombergLP-bdlbb-BlobUtil-append-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/BlobUtil.adoc[BlobUtil]::append :relfileprefix: ../../../ :mrdocs: Append a range of buffers from `source` onto `dest` without copying. == Synopsis Declared in `<bdlbb_blobutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void append( xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest, xref:BloombergLP/bdlbb/Blob.adoc[Blob] const& source, int offset, int length); ---- == Description 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 `BlobBuffer`s referring to the same data memory are created and appended to `dest`, hence `dest` is not required to have a `BlobBufferFactory`. == Parameters [cols="1,4"] |=== | 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` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#