Qore Programming Language Reference Manual  0.9.2
QC_FileInputStream.dox.h
1 namespace Qore {
4 
28 class FileInputStream : public InputStream {
29 
30 public:
32 
39  constructor(string fileName, timeout timeout_ms = -1);
40 
41 public:
43 
56 int peek();
57 
58 public:
60 
80 *binary read(int limit);
81 };
82 };
*binary read(int limit)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
binary binary()
Always returns an empty binary object (of zero length)
This class implements the InputStream interface for reading bytes from a file.
Definition: QC_FileInputStream.dox.h:28
constructor()
Constructor.
int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
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:18