strstreambuf* rdbuf() const;
Returns: const_cast<strstreambuf*>(&sb).
char* str();
Returns: rdbuf()->str().