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: Dec 10 2018
Copyright © 2019 Thunderstone Software LLC. All rights reserved.