Qore Programming Language Reference Manual
0.8.13.8
QC_FileInputStream.dox.h
1
namespace
Qore
{
4
22
class
FileInputStream
:
public
InputStream
{
23
24
public
:
26
31
constructor
(
string
fileName, timeout timeout_ms = -1);
32
33
public
:
35
48
int
peek
();
49
50
public
:
52
72
*
binary
read
(
int
limit);
73
};
74
};
Qore::FileInputStream::read
*binary read(int limit)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore::FileInputStream
This class implements the InputStream interface for reading bytes from a file.
Definition:
QC_FileInputStream.dox.h:22
Qore::InputStream::constructor
constructor()
Constructor.
Qore::FileInputStream::peek
int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
Qore
main Qore-language namespace
Definition:
Pseudo_QC_All.dox.h:2
Qore::InputStream
This class defines an abstract interface for input streams.
Definition:
QC_InputStream.dox.h:12