Qore Programming Language Reference Manual  1.0.8
QC_BinaryInputStream.dox.h
1 namespace Qore {
4 
30 
31 public:
33 
37  constructor(data src);
38 
39 public:
41 
57 int peek();
58 
59 public:
61 
80 *binary read(int limit);
81 };
82 }
*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 implements the InputStream interface for reading bytes from a Binary variable.
Definition: QC_BinaryInputStream.dox.h:29
binary binary()
Always returns an empty binary object (of zero length)
constructor()
Constructor.
int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
This class defines an abstract interface for input streams.
Definition: QC_InputStream.dox.h:19