Qore Programming Language Reference Manual
0.8.12
Main Page
Related Pages
Modules
Namespaces
Classes
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
};
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore::FileInputStream::bulkRead
*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...
Qore::FileInputStream::close
nothing close()
Closes the input stream and releases any resources.
Qore::FileInputStream
This class implements the InputStream interface for reading bytes from a file.
Definition:
QC_FileInputStream.dox.h:17
Qore::InputStream::constructor
constructor()
Constructor.
Qore::FileInputStream::read
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...
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:8