Reference
std::stringbuf::str
std::stringstream::stringstream
Good
stackoverflow
C++ equivalent of StringBuffer/StringBuilder?
Please help me to understand the difference between streambuf, stringbuf and stringstream?
What exactly does stringstream do?
How to implement StringBuilder class which to be able to accept IO manipulators
Wikipedia
C++ string handling
Resource acquisition is initialization (RAII)
Automatic variable
ESP32.com
How to use strings in esp idf?
Using C++ std::stringstream and heap exceptions
Bad
A C++ StringBuilder Class, 14.09.2007
4350% Performance Improvement with the StringBuilder for C++!, 10.09.2013