简体   繁体   中英

tinyxml2 : how to know number of characters read successfully from a stream buffer

I am using tinyxml2 interface to read xml data from stream buffer.

How can I know number of characters successfully read by tinyxml2 interface.

Probably this is what you are looking for.

According to documentation section "Printing" you can use TiXmlPrinter class to output to a std::string or memory buffer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM