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