Return the unread contents of the stream as a std::string.
Declared in <streams.h>
<streams.h>
std::string str() const;
A string holding the unread bytes of the stream.