Append buffers from source starting at offset onto dest.

Synopsis

Declared in <bdlbb_blobutil.h>

static
void
append(
    Blob* dest,
    Blob const& source,
    int offset);

Description

Append 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

Name

Description

dest

destination blob

source

source blob whose buffers are shared into dest

offset

starting byte offset in source

Created with MrDocs