Qore Programming Language Reference Manual 1.17.0
Loading...
Searching...
No Matches
QC_InputStream.dox.h
1
2namespace Qore {
4
19class InputStream : public StreamBase {
20
21public:
23
26
27public:
29
36abstract int peek();
37
38public:
40
52abstract *binary read(int limit);
53};
54}
This class defines an abstract interface for input streams.
Definition: QC_InputStream.dox.h:19
abstract int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
abstract *binary read(int limit)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
constructor()
Constructor.
This class defines the API for single thread streams.
Definition: QC_StreamBase.dox.h:14
binary binary()
Always returns an empty binary object (of zero length)
Qore namespace.
Definition: QC_AbstractSmartLock.dox.h:2