Qore Programming Language Reference Manual 1.18.0
Loading...
Searching...
No Matches
QC_FileInputStream.dox.h
1
2namespace Qore {
4
29
30public:
32
42 constructor(string fileName, timeout timeout_ms = -1, *bool nonblocking_open);
43
44public:
46
59int peek();
60
61public:
63
83*binary read(int limit);
84};
85}
This class implements the InputStream interface for reading bytes from a file.
Definition: QC_FileInputStream.dox.h:28
*binary read(int limit)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
constructor(string fileName, timeout timeout_ms=-1, *bool nonblocking_open)
Creates the FileInputStream by opening a file.
This class defines an abstract interface for input streams.
Definition: QC_InputStream.dox.h:19
binary binary()
Always returns an empty binary object (of zero length)
Qore namespace.
Definition: QC_AbstractSmartLock.dox.h:2