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

Reinitialize this stream buffer to use the specified read&hyphen;only character `buffer` having the specified `length`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlsb/FixedMemInStreamBuf.adoc[FixedMemInStreamBuf]*
pubsetbuf(
    char const* buffer,
    std::streamsize length);
----


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