reset overloads

Synopses

Declared in <bdlbb_blob.h>

Reset this blob buffer to its default‐constructed state.

void
reset();

Set the buffer represented by this object to the specified moveable buffer of the specified size. The behavior is undefined unless 0 <= size and the buffer refers to a continuous block of memory of at least size bytes.

Set the buffer represented by this object to the specified buffer of the specified size. The behavior is undefined unless 0 <= size and the buffer refers to a continuous block of memory of at least size bytes.

void
reset(
    bsl::shared_ptr<char> const& buffer,
    int size);

Created with MrDocs