Qore Programming Language Reference Manual 1.17.0
Loading...
Searching...
No Matches
QC_PipeInputStream.dox.h
1
2namespace Qore {
4
19
20protected:
22/***/
24
25public:
27/***/
28nothing finishClose();
29
30public:
32
34int peek();
35
36public:
38
40*binary read(int limit);
41
42public:
44
47nothing reportError(hash ex);
48};
49}
This class defines an abstract interface for input streams.
Definition: QC_InputStream.dox.h:19
This class is not intended to be instantiated directly, please see StreamPipe.
Definition: QC_PipeInputStream.dox.h:18
int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
*binary read(int limit)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
constructor()
Creates the PipeInputStream.
nothing reportError(hash ex)
Causes all operations on both pipe streams to wake up and throw an exception.
nothing finishClose()
Call when the background operation is finished to wakeup PipeOutputStream::close().
hash< auto > hash()
Always returns the same hash passed.
binary binary()
Always returns an empty binary object (of zero length)
Qore namespace.
Definition: QC_AbstractSmartLock.dox.h:2