#include <IXMLParser.h>
Definition at line 619 of file IXMLParser.h.
IPullParser::IXMLReader_PassThrough::IXMLReader_PassThrough |
( |
IXMLReader * |
r | ) |
|
int IPullParser::IXMLReader_PassThrough::nByteRead |
( |
| ) |
|
int IPullParser::IXMLReader_PassThrough::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_PassThrough::skipBOM |
( |
| ) |
|
unsigned char IPullParser::IXMLReader_PassThrough::b[512] |
unsigned char * IPullParser::IXMLReader_PassThrough::bEnd |
unsigned char * IPullParser::IXMLReader_PassThrough::pos |
IXMLReader* IPullParser::IXMLReader_PassThrough::r |
The documentation for this class was generated from the following file: