# Qore Programming Language Reference Manual: lib/QC_FileOutputStream.dox.h Source File

QC_FileOutputStream.dox.h
namespace Qore {
class FileOutputStream : public OutputStream {
public:
nothing close();
public:
constructor(string fileName, bool append = False, softint mode = 0644, *string encoding);
public:
string getEncoding();
public:
nothing write(binary data);
};
};
Qore::FileOutputStream
This class implements the OutputStream interface for writing bytes to a file.
Definition: QC_FileOutputStream.dox.h:22
Qore::OutputStream::constructor
constructor()
Constructor.
Qore::FileOutputStream::close
nothing close()
Closes the output stream and releases any resources.
Qore::FileOutputStream::write
nothing write(binary data)
Writes bytes to the output stream.
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore::False
const False
logical False
Definition: qc_qore.dox.h:92
Qore::OutputStream
This class defines an abstract interface for output streams.
Definition: QC_OutputStream.dox.h:12
Qore::FileOutputStream::getEncoding
string getEncoding()
Returns the character encoding for the FileOutputStream.
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:2