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.