Qore Programming Language Reference Manual
0.8.12
Main Page
Related Pages
Modules
Namespaces
Classes
QC_InputStream.dox.h
1
namespace
Qore
{
4
8
class
InputStream
{
9
10
public
:
12
27
abstract
*
binary
bulkRead
(
int
limit, timeout timeout_ms = -1);
28
29
public
:
31
35
abstract
nothing
close
();
36
37
public
:
39
41
constructor
();
42
43
public
:
45
58
abstract
int
read
(timeout timeout_ms = -1);
59
};
60
};
62
namespace
Qore
{
66
68
71
nothing
dump
(
Qore::InputStream
is);
72
74
77
nothing
dump_bulk
(
Qore::InputStream
is);
78
80
};
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore::dump_bulk
nothing dump_bulk(Qore::InputStream is)
Dumps an input stream to stdout by bulk reading bytes (two at a time) from the stream until the end i...
Qore::InputStream::constructor
constructor()
Constructor.
Qore::InputStream::bulkRead
abstract *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::InputStream::read
abstract 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::InputStream::close
abstract nothing close()
Closes the input stream and releases any resources.
Qore::dump
nothing dump(Qore::InputStream is)
Dumps an input stream to stdout by reading individual bytes from the stream until the end is 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