[#BloombergLP-bdlsb-FixedMemOutStreamBuf-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::xref:BloombergLP/bdlsb/FixedMemOutStreamBuf.adoc[FixedMemOutStreamBuf]::FixedMemOutStreamBuf :relfileprefix: ../../../ :mrdocs: Create a stream buffer that writes into a client‐supplied buffer. == Synopsis Declared in `<bdlsb_fixedmemoutstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- FixedMemOutStreamBuf( char* buffer, std::streamsize length); ---- == Description Create an empty stream buffer that uses the specified character `buffer` of the specified `length`. The behavior is undefined unless `length == 0` or `length > 0 && buffer != 0`. Note that `buffer` is held but not owned. == Parameters [cols="1,4"] |=== | Name| Description | *buffer* | character buffer to use for output; held but not owned | *length* | size of `buffer` in characters |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#