xmlReaderGetBytesConsumed

SYNOPSIS

int xmlReaderGetBytesConsumed(xmlReader reader)

Parameters:

  • reader - the xmlReader object

Returns:

  • the number of bytes consumed


DESCRIPTION
xmlReaderGetBytesConsumed() 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 ALSO
xmlReaderGetColumn, xmlReaderGetDepth, xmlReaderGetLine, xmlReaderGetType, xmlReaderIsEmptyElement


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.