[streambuf.syn]

# 31 Input/output library [[input.output]](./#input.output)

## 31.6 Stream buffers [[stream.buffers]](stream.buffers#streambuf.syn)

### 31.6.1 Header <streambuf> synopsis [streambuf.syn]

[ð](#header:%3cstreambuf%3e)

namespace std {// [[streambuf]](streambuf "31.6.3 Class template basic_­streambuf"), class template basic_streambuftemplate<class charT, class traits = char_traits<charT>>class basic_streambuf; using streambuf = basic_streambuf<char>; using wstreambuf = basic_streambuf<wchar_t>;}

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2884)

The header [<streambuf>](#header:%3cstreambuf%3e "31.6.1 Header <streambuf> synopsis [streambuf.syn]") defines types that control input from and output to*character* sequences[.](#1.sentence-1)
