[#BloombergLP-bdlsb-FixedMemInStreamBuf] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::FixedMemInStreamBuf :relfileprefix: ../../ :mrdocs: This class implements the input functionality of the `basic_streambuf` protocol, using client‐supplied `char *` memory. == Synopsis Declared in `<bdlsb_fixedmeminstreambuf.h>` [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. | xref:BloombergLP/bdlsb/FixedMemInStreamBuf/2destructor.adoc[`~FixedMemInStreamBuf`] [.small]#[destructor]# [.small]#[virtual]# | Destroy this stream buffer. | xref:BloombergLP/bdlsb/FixedMemInStreamBuf/data.adoc[`data`] | Return the address of the non‐modifiable character buffer held by this stream buffer. | xref:BloombergLP/bdlsb/FixedMemInStreamBuf/length.adoc[`length`] | Return the number of characters remaining to be read. | xref:BloombergLP/bdlsb/FixedMemInStreamBuf/pubsetbuf-03.adoc[`pubsetbuf`] | Reinitialize this stream buffer to use the specified character buffer. | xref:BloombergLP/bdlsb/FixedMemInStreamBuf/pubsetbuf-07.adoc[`pubsetbuf`] | Reinitialize this stream buffer to use the specified read‐only character `buffer` having the specified `length`. |=== == Protected Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlsb/FixedMemInStreamBuf/seekoff.adoc[`seekoff`] [.small]#[virtual]# | Set the get‐area position indicator relative to a base position. | xref:BloombergLP/bdlsb/FixedMemInStreamBuf/seekpos.adoc[`seekpos`] [.small]#[virtual]# | Set the get‐area position indicator to an absolute position. | xref:BloombergLP/bdlsb/FixedMemInStreamBuf/setbuf-09.adoc[`setbuf`] [.small]#[virtual]# | Reinitialize this stream buffer to use the specified character buffer. | xref:BloombergLP/bdlsb/FixedMemInStreamBuf/setbuf-00.adoc[`setbuf`] | Reinitialize this stream buffer to use the specified character buffer. | xref:BloombergLP/bdlsb/FixedMemInStreamBuf/showmanyc.adoc[`showmanyc`] [.small]#[virtual]# | Return the number of characters currently available for reading from this stream buffer, or ‐1 if there are none. | xref:BloombergLP/bdlsb/FixedMemInStreamBuf/xsgetn.adoc[`xsgetn`] [.small]#[virtual]# | Read characters from this stream buffer into a destination buffer. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#