![](/img/progress.gif)
please wait
basic_streambuf* setbuf (char_type* s, streamsize n);
this
, but derived classes can override this behavior to perform specific actions: both basic_filebuf and basic_stringbuf override this virtual member function (see basic_filebuf::setbuf and basic_stringbuf::setbuf).