Qore Programming Language Reference Manual  0.8.12
QC_FileInputStream.dox.h
1 namespace Qore {
4 
17 class FileInputStream : public InputStream {
18 
19 public:
21 
37 *binary bulkRead(int limit, timeout timeout_ms = -1);
38 
39 public:
41 
45 nothing close();
46 
47 public:
49 
51  constructor(string fileName);
52 
53 public:
55 
69 int read(timeout timeout_ms = -1);
70 };
71 };
binary binary()
Always returns an empty binary object (of zero length)
*binary bulkRead(int limit, timeout timeout_ms=-1)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
nothing close()
Closes the input stream and releases any resources.
This class implements the InputStream interface for reading bytes from a file.
Definition: QC_FileInputStream.dox.h:17
constructor()
Constructor.
int read(timeout timeout_ms=-1)
Reads a single byte from the input stream; returns -1 if the end of the stream has been reached...
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:2
This class defines an abstract interface for input streams.
Definition: QC_InputStream.dox.h:8