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.

Synopsis

Declared in <bdlsb_overflowmemoutput.h>

OverflowMemOutput(
    char* buffer,
    std::size_t length,
    bslma::Allocator* basicAllocator = 0);

Created with MrDocs