#include <IXMLParser.h>
Definition at line 605 of file IXMLParser.h.
IPullParser::IXMLReader_FromUTF16::IXMLReader_FromUTF16 |
( |
IXMLReader * |
r | ) |
|
IPullParser::IXMLReader_FromUTF16::~IXMLReader_FromUTF16 |
( |
| ) |
|
IXMLReader* IPullParser::IXMLReader_FromUTF16::getSource |
( |
| ) |
|
|
virtual |
int IPullParser::IXMLReader_FromUTF16::read |
( |
unsigned char * |
buffer, |
|
|
int |
nbyte |
|
) |
| |
|
virtual |
The read() method is used to "stream" data inside the Pull Parser.
The read() method must fill-in the memory buffer "buffer" with new data. At most "nbyte" bytes of data must be written inside the memory buffer.
- Returns
- The exact number of byte written inside the memory buffer (this must be smaller than "nbyte". If the read() function returns zero, it means that the data stream is finished. If the read() function returns -1, it means that the data stream is corrupted and we must abort.
Implements IXMLReader.
void IPullParser::IXMLReader_FromUTF16::reset |
( |
| ) |
|
|
virtual |
void IPullParser::IXMLReader_FromUTF16::setNormalBufferSize |
( |
int |
nbyte | ) |
|
|
virtual |
This method is called before any call to the "read()" method. It gives you an hint about the future value of the "nbyte" parameter of the "read()" method so that you can allocate internal buffers to the right size.
Reimplemented from IXMLReader.
void IPullParser::IXMLReader_FromUTF16::setSource |
( |
IXMLReader * |
source | ) |
|
|
virtual |
unsigned char* IPullParser::IXMLReader_FromUTF16::b |
int IPullParser::IXMLReader_FromUTF16::bufferSz |
int IPullParser::IXMLReader_FromUTF16::len |
int IPullParser::IXMLReader_FromUTF16::mbstate |
The documentation for this class was generated from the following file: