Qore Programming Language Reference Manual  0.9.4.2
QC_InputStream.dox.h
1 namespace Qore {
4 
18 class InputStream : public StreamBase {
19 
20 public:
22 
24  constructor();
25 
26 public:
28 
35 abstract int peek();
36 
37 public:
39 
50 abstract *binary read(int limit);
51 };
52 }
Qore::InputStream::peek
abstract int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
Qore::InputStream::constructor
constructor()
Constructor.
Qore::StreamBase
This class defines the API for single thread streams.
Definition: QC_StreamBase.dox.h:14
Qore::InputStream::read
abstract *binary read(int limit)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
Qore::InputStream
This class defines an abstract interface for input streams.
Definition: QC_InputStream.dox.h:18
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)