Insert a byte range from source into dest at destOffset.
Declared in <bdlbb_blobutil.h>
static
void
insert(
Blob* dest,
int destOffset,
Blob const& source,
int sourceOffset,
int sourceLength);
Insert the specified sourceLength bytes from the specified sourceOffset in the specified source to the specified destOffset in the specified dest.
| 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 |