Erase a byte range from the specified blob.
Synopsis
Declared in <bdlbb_blobutil.h>
static
void
erase(
Blob* blob,
int offset,
int length);
Description
Erase the specified length bytes starting at the specified offset from the specified blob. The behavior is undefined unless offset >= 0, length >= 0, and offset + length <= blob‐>length().
Parameters
Name |
Description |
blob |
blob from which bytes are erased |
offset |
starting byte offset of the erased range |
length |
number of bytes to erase |
Created with MrDocs