Similar to StringIO, but optimized for building a single string.
StringIO
You should never have to deal with this class. Instead, use String.build.
String.build