Qore Programming Language Reference Manual  0.8.12
QC_BinaryInputStream.dox.h
1 namespace Qore {
4 
20 
21 public:
23 
40 *binary bulkRead(int limit, timeout timeout_ms = -1);
41 
42 public:
44 
48 nothing close();
49 
50 public:
52 
54  constructor(binary src);
55 
56 public:
58 
74 int read(timeout timeout_ms = -1);
75 };
76 };
This class implements the InputStream interface for reading bytes from a Binary variable.
Definition: QC_BinaryInputStream.dox.h:19
binary binary()
Always returns an empty binary object (of zero length)
*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...
constructor()
Constructor.
nothing close()
Closes the input stream and releases any resources.
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...
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:2
This class defines an abstract interface for input streams.
Definition: QC_InputStream.dox.h:8