 |
Qore Programming Language Reference Manual
0.9.4.6
|
constructor()
Creates the StringOutputStream.
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.
This class implements the OutputStream interface for writing bytes to a String buffer.
Definition: QC_StringOutputStream.dox.h:25
constructor(string encoding)
Creates the StringOutputStream.
string getEncoding()
Returns the character encoding for the StringOutputStream.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
binary binary()
Always returns an empty binary object (of zero length)