Create a blob buffer representing the specified moveable buffer of the specified size.
Declared in <bdlbb_blob.h>
BlobBuffer(
bslmf::MovableRef<bsl::shared_ptr<char>> buffer,
int size);
The behavior is undefined unless 0 <= size and the buffer refers to a continuous block of memory of at least size bytes.
| Name | Description |
|---|---|
| buffer | moveable shared pointer to the continuous memory block |
| size | number of bytes represented by this blob buffer |