BloombergLP::bdlbb::BlobBuffer::BlobBuffer

Constructors

Synopses

Declared in <bdlbb_blob.h>

Create a blob buffer representing a null buffer. Note that the size and data methods of a default-constructed blob buffer both return 0.

BlobBuffer();
» more...

Create a blob buffer having the same value as the specified original blob buffer.

BlobBuffer(BlobBuffer const& original);
» more...

Create a blob buffer object having the same value as the specified original object by moving the contents of original to the newly-created object. original is left in a valid but unspecified state.

BlobBuffer(bslmf::MovableRef<BlobBuffer> original) noexcept;
» more...

Create a blob buffer representing 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.

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

Create a blob buffer representing 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.

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