![]() |
Home | Libraries | People | FAQ | More |
Returns a mutable buffer sequence representing writable bytes.
mutable_buffers_type prepare( std::size_t n);
Returns a mutable buffer sequence representing the writable bytes containing
exactly n bytes of storage.
Memory may be reallocated as needed. All buffers sequences previously obtained
using data or prepare become invalid.
|
Name |
Description |
|---|---|
|
|
The desired number of bytes in the returned buffer sequence. |
|
Type |
Thrown On |
|---|---|
|
|
if |
Strong guarantee.