SYNOPSISint xmlReaderGetBytesConsumed(xmlReader reader)
Parameters:
reader
- the xmlReader
object
Returns:
DESCRIPTIONxmlReaderGetBytesConsumed()
returns the number of bytes the
reader has consumed so far.
EXAMPLE<$bytes = (xmlReaderGetBytesConsumed($reader))>
CAVEATS
The xmlReader
parser can read ahead and buffer some of the
XML message, so functions like this might not match the current
element.
SEE ALSOxmlReaderGetColumn
,
xmlReaderGetDepth
,
xmlReaderGetLine
,
xmlReaderGetType
,
xmlReaderIsEmptyElement