Constructors
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 by moving from the specified original object.
BlobBuffer(bslmf::MovableRef<BlobBuffer> original) noexcept;
» more...
Create a blob buffer representing the specified moveable buffer of the specified size.
BlobBuffer(
bslmf::MovableRef<bsl::shared_ptr<char>> buffer,
int size);
» more...
Create a blob buffer representing the specified buffer of the specified size.
BlobBuffer(
bsl::shared_ptr<char> const& buffer,
int size);
» more...
| Name | Description |
|---|---|
| original | blob buffer to copy |
| buffer | moveable shared pointer to the continuous memory block |
| size | number of bytes represented by this blob buffer |