basic_streambuf::epptr

E *epptr() const;

The member function returns a pointer just past the end of the output buffer.