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

Reset the internal buffer of this stream to the specified `buffer` of the specified `length`&period; Note that the next write operation will start at the beginning of `buffer`&period;

== Synopsis

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

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


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