[#BloombergLP-bdlsb-FixedMemOutStreamBuf]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::FixedMemOutStreamBuf
:relfileprefix: ../../
:mrdocs:

This class implements the output functionality of the `basic&lowbar;streambuf` protocol for client&hyphen;supplied memory&period;

== Synopsis

Declared in `&lt;bdlsb&lowbar;fixedmemoutstreambuf&period;h&gt;`

[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&hyphen;supplied buffer&period;
| xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/2destructor.adoc[`&#126;FixedMemOutStreamBuf`] [.small]#[destructor]# [.small]#[virtual]#
| Destroy this stream buffer&period;
| xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/capacity.adoc[`capacity`] 
| Return the number of characters in the buffer held by this stream buffer&period; See `length`, below, for the span of bytes actually written&period;
| 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)&period;
| xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/data-06.adoc[`data`] 
| Return a pointer providing non&hyphen;modifiable access to the character buffer held by this stream buffer (supplied at construction)&period;
| xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/length.adoc[`length`] 
| Return the number of characters written to this stream buffer&period;
|===


== 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&period;
| xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/seekpos.adoc[`seekpos`]  [.small]#[virtual]#
| Set the put position to an absolute position&period;
| xref:BloombergLP/bdlsb/FixedMemOutStreamBuf/setbuf.adoc[`setbuf`]  [.small]#[virtual]#
| Reinitialize this stream buffer with a new character buffer&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
