Standard C++ Library Reference ISO/IEC (VERSION3)

input buffer.
For a stream buffer with common input and output streams, it can make a putback
position available by writing out, to some external destination, some or all of the
elements between the beginning and next pointers for the output buffer.
If the function cannot succeed, it returns traits_type::eof() or throws an exception.
Otherwise, it returns some other value. The default behavior is to return
traits_type::eof().
basic_streambuf::pbase
char_type *pbase() const;
The member function returns a pointer to the beginning of the output buffer.
basic_streambuf::pbump
void pbump(int count);
The member function adds count to the next pointer for the output buffer.
basic_streambuf::pos_type
typedef typename traits_type::pos_type pos_type;
The type is a synonym for traits_type::pos_type.
basic_streambuf::pptr
char_type *pptr() const;
The member function returns a pointer to the next element of the output buffer.
basic_streambuf::pubimbue
locale pubimbue(const locale& loc);
The member function stores loc in the locale object, calls imbue(), then returns the previous
value stored in the locale object.
basic_streambuf::pubseekoff
pos_type pubseekoff(off_type off,
ios_base::seekdir way,
ios_base::openmode which =
ios_base::in | ios_base::out);