[#bsl-basic_stringbuf-pubsetbuf] = xref:bsl.adoc[bsl]::xref:bsl/basic_stringbuf.adoc[basic_stringbuf]::pubsetbuf :relfileprefix: ../../ :mrdocs: Entry points for derived buffer functions. == Synopsis Declared in `<bslstl_stringbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- basic_streambuf* pubsetbuf( char_type* __s, streamsize __n); ---- == Description @{ The public versions of `pubfoo` dispatch to the protected derived `foo` member functions, passing the arguments (if any) and returning the result unchanged. [.small]#Created with https://www.mrdocs.com[MrDocs]#