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