QC_InputStream.dox.h
namespace Qore {
class InputStream {
public:
abstract *binary bulkRead(int limit, timeout timeout_ms = -1);
public:
abstract nothing close();
public:
constructor();
public:
abstract int read(timeout timeout_ms = -1);
};
};
namespace Qore {
nothing dump(Qore::InputStream is);
nothing dump_bulk(Qore::InputStream is);
};
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore::dump_bulk
nothing dump_bulk(Qore::InputStream is)
Dumps an input stream to stdout by bulk reading bytes (two at a time) from the stream until the end i...
Qore::InputStream::constructor
constructor()
Constructor.
Qore::InputStream::bulkRead
abstract *binary bulkRead(int limit, timeout timeout_ms=-1)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
Qore::InputStream::read
abstract int read(timeout timeout_ms=-1)
Reads a single byte from the input stream; returns -1 if the end of the stream has been reached...
Qore::InputStream::close
abstract nothing close()
Closes the input stream and releases any resources.
Qore::dump
nothing dump(Qore::InputStream is)
Dumps an input stream to stdout by reading individual bytes from the stream until the end is reached...
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:8