Qore Programming Language Reference Manual  0.8.13.5
 All Classes Namespaces Functions Variables Groups Pages
QC_PipeInputStream.dox.h
1 namespace Qore {
4 
12 class PipeInputStream : public InputStream {
13 
14 private:
16 /***/
17  constructor();
18 
19 public:
21 /***/
22 nothing finishClose();
23 
24 public:
26 
28 int peek();
29 
30 public:
32 
34 *binary read(int limit);
35 
36 public:
38 
41 nothing reportError(hash ex);
42 };
43 };
*binary read(int limit)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
This class is not intended to be instantiated directly, please see StreamPipe.
Definition: QC_PipeInputStream.dox.h:12
int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
nothing reportError(hash ex)
Causes all operations on both pipe streams to wake up and throw an exception.
binary binary()
Always returns an empty binary object (of zero length)
nothing finishClose()
Call when the background operation is finished to wakeup PipeOutputStream::close().
This class defines an abstract interface for input streams.
Definition: QC_InputStream.dox.h:12
hash hash(object obj)
Returns a hash of an object's members.