Set this object to represent the specified moveable buffer of the specified size.
Synopsis
Declared in <bdlbb_blob.h>
void
reset(
bslmf::MovableRef<bsl::shared_ptr<char>> buffer,
int size);
Description
The behavior is undefined unless 0 <= size and the buffer refers to a continuous block of memory of at least size bytes.
Parameters
Name |
Description |
buffer |
moveable shared pointer to the continuous memory block |
size |
number of bytes represented by this blob buffer |
Created with MrDocs