insert overloads

Synopses

Declared in <bdlbb_blobutil.h>

Insert the entire source blob into dest at destOffset.

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

Insert from sourceOffset in source into dest at destOffset.

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

Insert a byte range from source into dest at destOffset.

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

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