BloombergLP::bdlbb::BlobUtil::insert

Insert from sourceOffset in source into dest at destOffset.

Synopsis

Declared in <bdlbb_blobutil.h>

static
void
insert(
    Blob* dest,
    int destOffset,
    Blob const& source,
    int sourceOffset);

Description

Insert from the specified sourceOffset in the specified source to the specified destOffset in the specified dest.

Parameters

NameDescription
destdestination blob
destOffsetinsertion offset in dest
sourcesource blob
sourceOffsetstarting byte offset in source