append overloads
Synopses
Declared in <bdlbb_blobutil.h>
Append all buffers from source onto dest without copying data.
Append fill bytes to bring dest to a greater length.
Append buffers from source starting at offset onto dest.
Append all of source onto dest (allocator unused).
static
void
append(
Blob* dest,
Blob const& source,
bslma::Allocator* basicAllocator);
Append bytes from a contiguous address onto dest.
Append a range of buffers from source onto dest without copying.
Append from offset in source onto dest (allocator unused).
static
void
append(
Blob* dest,
Blob const& source,
int offset,
bslma::Allocator* basicAllocator);
Append a byte range from a contiguous address onto dest.
Append a range from source onto dest (allocator unused).
static
void
append(
Blob* dest,
Blob const& source,
int offset,
int length,
bslma::Allocator* basicAllocator);
Parameters
Name |
Description |
dest |
destination blob |
source |
source blob whose buffers are shared into |
length |
number of fill bytes to append |
fill |
byte value used for each appended byte |
offset |
starting byte offset in |
basicAllocator |
unused allocator argument |
Created with MrDocs