Qore Programming Language Reference Manual 1.17.0
Loading...
Searching...
No Matches
QC_StringInputStream.dox.h
1
2namespace Qore {
4
30
31public:
33
35 constructor(string src);
36
37public:
39
51string getEncoding();
52
53public:
55
71int peek();
72
73public:
75
94*binary read(int limit);
95};
96}
This class defines an abstract interface for input streams.
Definition: QC_InputStream.dox.h:19
This class implements the InputStream interface for reading bytes from a String variable.
Definition: QC_StringInputStream.dox.h:29
int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
*binary read(int limit)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
constructor(string src)
Creates the StringInputStream based on the String given.
string getEncoding()
Returns the character encoding for the StringInputStream.
binary binary()
Always returns an empty binary object (of zero length)
Qore namespace.
Definition: QC_AbstractSmartLock.dox.h:2