| Qore Programming Language Reference Manual 1.0.8

QC_InputStream.dox.h
1 namespace Qore {
4
19 class InputStream : public StreamBase {
20
21 public:
23
25 constructor();
26
27 public:
29
36 abstract int peek();
37
38 public:
40
52 abstract *binary read(int limit);
53 };
54 }
Qore::InputStream::read
abstract *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::InputStream::constructor
constructor()
Constructor.
Qore::InputStream::peek
abstract int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
Qore::StreamBase
This class defines the API for single thread streams.
Definition: QC_StreamBase.dox.h:14
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
Qore::InputStream
This class defines an abstract interface for input streams.
Definition: QC_InputStream.dox.h:19