[#BloombergLP-bdlsb-FixedMemOutStreamBuf] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::FixedMemOutStreamBuf :relfileprefix: ../../ :mrdocs: This class implements the output functionality of the `basic_streambuf` protocol for client‐supplied memory. == Synopsis Declared in `<bdlsb_fixedmemoutstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class FixedMemOutStreamBuf : public std::streambuf ---- == Base Classes [cols="1,4"] |=== | Name| Description | `std::streambuf` | |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/2constructor.adoc[`FixedMemOutStreamBuf`] [.small]#[constructor]# | Create a stream buffer that writes into a client‐supplied buffer. | xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/2destructor.adoc[`~FixedMemOutStreamBuf`] [.small]#[destructor]# [.small]#[virtual]# | Destroy this stream buffer. | xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/capacity.adoc[`capacity`] | Return the number of characters in the buffer held by this stream buffer. See `length`, below, for the span of bytes actually written. | xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/data-05.adoc[`data`] | Return a pointer providing modifiable access to the character buffer held by this stream buffer (supplied at construction). | xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/data-06.adoc[`data`] | Return a pointer providing non‐modifiable access to the character buffer held by this stream buffer (supplied at construction). | xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/length.adoc[`length`] | Return the number of characters written to this stream buffer. |=== == Protected Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/seekoff.adoc[`seekoff`] [.small]#[virtual]# | Set the put position relative to a fixed base position. | xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/seekpos.adoc[`seekpos`] [.small]#[virtual]# | Set the put position to an absolute position. | xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/setbuf.adoc[`setbuf`] [.small]#[virtual]# | Reinitialize this stream buffer with a new character buffer. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#