This class implements the OutputStream interface for writing bytes to a String buffer.
Definition: QC_StringOutputStream.dox.h:25
constructor()
Creates the StringOutputStream.
binary binary()
Always returns an empty binary object (of zero length)
nothing close()
Closes the output stream and releases any resources.
nothing write(binary data)
Writes bytes to the output stream.
This class defines an abstract interface for output streams.
Definition: QC_OutputStream.dox.h:18
string getData()
Returns the data written to the stream, clearing the internal buffer.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
string getEncoding()
Returns the character encoding for the StringOutputStream.