The header <streambuf> defines types that control input and output to character sequences.
namespace std { template <class charT, class traits = char_traits<charT> > class basic_streambuf; typedef basic_streambuf<char> streambuf; typedef basic_streambuf<wchar_t> wstreambuf; }
This chapter is constructed in the following sub sections and uses the ISO (International Organization for Standardization) C++ Standard as a guide: