Qore Programming Language Reference Manual  0.8.13
QC_StringInputStream.dox.h
1 namespace Qore {
4 
24 
25 public:
27 
29  constructor(string src);
30 
31 public:
33 
45 string getEncoding();
46 
47 public:
49 
65 int peek();
66 
67 public:
69 
88 *binary read(int limit);
89 };
90 };
This class implements the InputStream interface for reading bytes from a String variable.
Definition: QC_StringInputStream.dox.h:23
binary binary()
Always returns an empty binary object (of zero length)
constructor()
Constructor.
*binary read(int limit)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
string getEncoding()
Returns the character encoding for the StringInputStream.
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:12
int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.