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

This class implements the input functionality of the `basic&lowbar;streambuf` protocol, using client&hyphen;supplied `char &ast;` memory&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class FixedMemInStreamBuf
    : public std::streambuf
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `std::streambuf`
| 
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlsb/FixedMemInStreamBuf/2constructor.adoc[`FixedMemInStreamBuf`]         [.small]#[constructor]#
| Create a `FixedMemInStreamBuf` that reads from the specified buffer&period;
| xref:BloombergLP/bdlsb/FixedMemInStreamBuf/2destructor.adoc[`&#126;FixedMemInStreamBuf`] [.small]#[destructor]# [.small]#[virtual]#
| Destroy this stream buffer&period;
| xref:BloombergLP/bdlsb/FixedMemInStreamBuf/data.adoc[`data`] 
| Return the address of the non&hyphen;modifiable character buffer held by this stream buffer&period;
| xref:BloombergLP/bdlsb/FixedMemInStreamBuf/length.adoc[`length`] 
| Return the number of characters remaining to be read&period;
| xref:BloombergLP/bdlsb/FixedMemInStreamBuf/pubsetbuf-03.adoc[`pubsetbuf`] 
| Reinitialize this stream buffer to use the specified character buffer&period;
| xref:BloombergLP/bdlsb/FixedMemInStreamBuf/pubsetbuf-07.adoc[`pubsetbuf`] 
| Reinitialize this stream buffer to use the specified read&hyphen;only character `buffer` having the specified `length`&period;
|===


== Protected Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlsb/FixedMemInStreamBuf/seekoff.adoc[`seekoff`]  [.small]#[virtual]#
| Set the get&hyphen;area position indicator relative to a base position&period;
| xref:BloombergLP/bdlsb/FixedMemInStreamBuf/seekpos.adoc[`seekpos`]  [.small]#[virtual]#
| Set the get&hyphen;area position indicator to an absolute position&period;
| xref:BloombergLP/bdlsb/FixedMemInStreamBuf/setbuf-09.adoc[`setbuf`]  [.small]#[virtual]#
| Reinitialize this stream buffer to use the specified character buffer&period;
| xref:BloombergLP/bdlsb/FixedMemInStreamBuf/setbuf-00.adoc[`setbuf`] 
| Reinitialize this stream buffer to use the specified character buffer&period;
| xref:BloombergLP/bdlsb/FixedMemInStreamBuf/showmanyc.adoc[`showmanyc`]  [.small]#[virtual]#
| Return the number of characters currently available for reading from this stream buffer, or &hyphen;1 if there are none&period;
| xref:BloombergLP/bdlsb/FixedMemInStreamBuf/xsgetn.adoc[`xsgetn`]  [.small]#[virtual]#
| Read characters from this stream buffer into a destination buffer&period;
|===



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