BloombergLP::bdlbb::BlobUtil::append

append overloads

Synopses

Declared in <bdlbb_blobutil.h>

Append all buffers from source onto dest without copying data.

static
void
append(
    Blob* dest,
    Blob const& source);
» more...

Append fill bytes to bring dest to a greater length.

static
void
append(
    Blob* dest,
    int length,
    char fill);
» more...

Append buffers from source starting at offset onto dest.

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

Append all of source onto dest (allocator unused).

static
void
append(
    Blob* dest,
    Blob const& source,
    bslma::Allocator* basicAllocator);
» more...

Append bytes from a contiguous address onto dest.

static
void
append(
    Blob* dest,
    char const* source,
    int length);
» more...

Append a range of buffers from source onto dest without copying.

static
void
append(
    Blob* dest,
    Blob const& source,
    int offset,
    int length);
» more...

Append from offset in source onto dest (allocator unused).

static
void
append(
    Blob* dest,
    Blob const& source,
    int offset,
    bslma::Allocator* basicAllocator);
» more...

Append a byte range from a contiguous address onto dest.

static
void
append(
    Blob* dest,
    char const* source,
    int offset,
    int length);
» more...

Append a range from source onto dest (allocator unused).

static
void
append(
    Blob* dest,
    Blob const& source,
    int offset,
    int length,
    bslma::Allocator* basicAllocator);
» more...

Parameters

NameDescription
destdestination blob
sourcesource blob whose buffers are shared into dest
lengthnumber of fill bytes to append
fillbyte value used for each appended byte
offsetstarting byte offset in source
basicAllocatorunused allocator argument