Qore Programming Language Reference Manual  1.8.0
QC_EncodingConversionOutputStream.dox.h
1 namespace Qore {
4 
23 
24 public:
26 
31 nothing close();
32 
33 public:
35 
40  constructor(Qore::OutputStream os, string sourceEncoding, string destEncoding);
41 
42 public:
44 
56 nothing write(binary data);
57 };
58 }
An OutputStream implementation that performs on-the-fly conversion between two character encodings.
Definition: QC_EncodingConversionOutputStream.dox.h:22
nothing write(binary data)
Writes bytes to the output stream.
constructor(Qore::OutputStream os, string sourceEncoding, string destEncoding)
Creates the EncodingConversionOutputStream based on the OutputStream given.
nothing close()
Flushes any buffered (unwritten) bytes, closes the output stream and releases all resources.
This class defines an abstract interface for output streams.
Definition: QC_OutputStream.dox.h:18
binary binary()
Always returns an empty binary object (of zero length)
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3