BloombergLP::bdlbb::BlobBuffer::reset

reset overloads

Synopses

Declared in <bdlbb_blob.h>

Reset this blob buffer to its default-constructed state.

void
reset();
» more...

Set this object to represent the specified moveable buffer of the specified size.

void
reset(
    bslmf::MovableRef<bsl::shared_ptr<char>> buffer,
    int size);
» more...

Set this object to represent the specified buffer of the specified size.

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

Parameters

NameDescription
buffermoveable shared pointer to the continuous memory block
sizenumber of bytes represented by this blob buffer