Remove the buffer at the specified index from this blob.

Synopsis

Declared in <bdlbb_blob.h>

void
removeBuffer(int index);

Description

Decrement the length of this blob by the size of the buffer if the buffer at index contains data bytes (i.e., if the first byte of the buffer occurs before the logical end of this blob). Buffers at positions higher than index (if any) are shifted down by one index position. The behavior is undefined unless 0 <= index < numBuffers().

Parameters

Name

Description

index

position of the buffer to remove

Created with MrDocs