Append fill bytes to bring dest to a greater length.
Synopsis
Declared in <bdlbb_blobutil.h>
static
void
append(
Blob* dest,
int length,
char fill);
Description
Append the specified length bytes to the specified dest, all new bytes are to be set to the specified fill. The behavior is undefined unless length <= dest‐>totalSize() ‐ dest‐>length() or 0 != dest‐>factory().
Parameters
Name |
Description |
dest |
destination blob |
length |
number of fill bytes to append |
fill |
byte value used for each appended byte |
Created with MrDocs