| Qore Programming Language Reference Manual 2.2.0

Loading...
Searching...
No Matches
QC_FileOutputStream.dox.h
1
2 namespace Qore {
4
28 class FileOutputStream : public OutputStream {
29
30 public:
32
38nothing 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
87nothing write(binary data);
88};
89}
Qore::FileOutputStream
This class implements the OutputStream interface for writing bytes to a file.
Definition QC_FileOutputStream.dox.h:28
Qore::FileOutputStream::close
nothing close()
Closes the output stream and releases any resources.
Qore::FileOutputStream::getEncoding
string getEncoding()
Returns the character encoding for the FileOutputStream.
Qore::FileOutputStream::write
nothing write(binary data)
Writes bytes to the output stream.
Qore::FileOutputStream::constructor
constructor(string fileName, bool append=False, softint mode=0644, *string encoding)
Creates the FileOutputStream by opening or creating a file.
Qore::OutputStream
This class defines an abstract interface for output streams.
Definition QC_OutputStream.dox.h:18
Qore::False
const False
logical False
Definition qc_qore.dox.h:96
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore
main Qore-language namespace
Definition Pseudo_QC_All.dox.h:3