How can I get the length in bytes of a stringstream.
stringstream.str().length();
would copy the contents into std::string. I don\'t want to