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: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