* xmlTextReaderByteConsumed: * @reader: an XML reader * * This function provides the current index of the parser used * by the reader, relative to the start of the current entity. * This function actually just wraps a call to xmlBytesConsumed() * for the parser context associated with the reader. * See xmlBytesConsumed() for more information. * * Returns the index in bytes from the beginn
| 5080 | * in case the index could not be computed. |
| 5081 | */ |
| 5082 | long |
| 5083 | xmlTextReaderByteConsumed(xmlTextReaderPtr reader) { |
| 5084 | if ((reader == NULL) || (reader->ctxt == NULL)) |
| 5085 | return(-1); |
| 5086 | return(xmlByteConsumed(reader->ctxt)); |
| 5087 | } |
| 5088 | |
| 5089 | |
| 5090 | /** |
nothing calls this directly
no test coverage detected