Qore Programming Language Reference Manual  0.9.4.6
QC_FileOutputStream.dox.h
1 namespace Qore {
4 
29 
30 public:
32 
38 nothing close();
39 
40 public:
42 
49  constructor(string fileName, bool append = False, softint mode = 0644, *string encoding);
50 
51 public:
53 
66 string getEncoding();
67 
68 public:
70 
87 nothing write(binary data);
88 };
89 }
Qore::FileOutputStream::getEncoding
string getEncoding()
Returns the character encoding for the FileOutputStream.
Qore::FileOutputStream
This class implements the OutputStream interface for writing bytes to a file.
Definition: QC_FileOutputStream.dox.h:28
Qore::OutputStream
This class defines an abstract interface for output streams.
Definition: QC_OutputStream.dox.h:18
Qore::FileOutputStream::constructor
constructor(string fileName, bool append=False, softint mode=0644, *string encoding)
Creates the FileOutputStream by opening or creating a file.
Qore::FileOutputStream::close
nothing close()
Closes the output stream and releases any resources.
Qore::False
const False
logical False
Definition: qc_qore.dox.h:96
Qore::FileOutputStream::write
nothing write(binary data)
Writes bytes to the output stream.
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)