rdbuf
Syntax:
  #include <sstream>
  stringbuf* rdbuf();

The rdbuf() function returns a pointer to the string buffer for the current string stream.