[#bsl-basic_syncbuf-setbuf] = xref:bsl.adoc[bsl]::xref:bsl/basic_syncbuf.adoc[basic_syncbuf]::setbuf :relfileprefix: ../../ :mrdocs: Manipulates the buffer. == Synopsis Declared in `<bslstl_syncbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual basic_streambuf<char_type, _Traits>* setbuf( char_type*, streamsize); ---- == Description Each derived class provides its own appropriate behavior. See the next‐to‐last paragraph of https://gcc.gnu.org/onlinedocs/libstdc++/manual/streambufs.html#io.streambuf.buffering for more on this function. [NOTE] ==== Base class version does nothing, returns `this.` ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#