Insert a byte range from source into dest at destOffset.

Synopsis

Declared in <bdlbb_blobutil.h>

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

Description

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

Parameters

Name

Description

dest

destination blob

destOffset

insertion offset in dest

source

source blob

sourceOffset

starting byte offset in source

sourceLength

number of bytes to insert from source

Created with MrDocs