Qore Programming Language Reference Manual  0.8.12.3
QC_StringInputStream.dox.h
1 namespace Qore {
4 
20 
21 public:
23 
25  constructor(string src);
26 
27 public:
29 
41 string getEncoding();
42 
43 public:
45 
61 *binary read(int limit);
62 };
63 };
This class implements the InputStream interface for reading bytes from a String variable.
Definition: QC_StringInputStream.dox.h:19
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:8