Create an OverflowMemOutput using the specified initial output buffer.
Synopsis
Declared in <bdlsb_overflowmemoutput.h>
OverflowMemOutput(
char* buffer,
std::size_t length,
bslma::Allocator* basicAllocator = 0);
Description
Create an OverflowMemOutput using the specified buffer of the specified length as the initial output buffer. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless buffer != 0 && length > 0. Note that this stream buffer does not assume ownership of buffer.
Parameters
Name |
Description |
buffer |
initial client‐supplied character buffer |
length |
size of |
basicAllocator |
memory allocator; null uses the default |
Created with MrDocs