Qore Programming Language Reference Manual
1.14.0
Loading...
Searching...
No Matches
QC_EncodingConversionInputStream.dox.h
1
2
namespace
Qore
{
4
25
class
EncodingConversionInputStream
:
public
InputStream
{
26
27
public
:
29
34
constructor
(
Qore::InputStream
is,
string
sourceEncoding,
string
destEncoding);
35
36
public
:
38
49
int
peek
();
50
51
public
:
53
69
*
binary
read
(
int
limit);
70
};
71
}
Qore::EncodingConversionInputStream
An InputStream implementation that performs on-the-fly conversion between two character encodings.
Definition:
QC_EncodingConversionInputStream.dox.h:25
Qore::EncodingConversionInputStream::constructor
constructor(Qore::InputStream is, string sourceEncoding, string destEncoding)
Creates the EncodingConversionInputStream based on the InputStream given.
Qore::EncodingConversionInputStream::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::EncodingConversionInputStream::peek
int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
Qore::InputStream
This class defines an abstract interface for input streams.
Definition:
QC_InputStream.dox.h:19
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore
Qore namespace.
Definition:
QC_AbstractSmartLock.dox.h:2