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