QC_PipeInputStream.dox.h
namespace Qore {
class PipeInputStream : public InputStream {
private:
/***/
constructor();
public:
/***/
nothing finishClose();
public:
int peek();
public:
*binary read(int limit);
public:
nothing reportError(hash ex);
};
};
Qore::PipeInputStream::read
*binary read(int limit)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
Qore::PipeInputStream
This class is not intended to be instantiated directly, please see StreamPipe.
Definition: QC_PipeInputStream.dox.h:12
Qore::PipeInputStream::peek
int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
Qore::PipeInputStream::reportError
nothing reportError(hash ex)
Causes all operations on both pipe streams to wake up and throw an exception.
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore::PipeInputStream::finishClose
nothing finishClose()
Call when the background operation is finished to wakeup PipeOutputStream::close().
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:12
Qore::hash
hash hash(object obj)
Returns a hash of an object&#39;s members.