1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-29 15:13:01 +04:00

XMLPrinter optimization

Stream writing to buffer will be x5 faster
This commit is contained in:
Alexander Golubev
2016-03-28 19:51:59 +03:00
committed by Brad Anderson
parent 8b83b23876
commit b2e08e4bc0
2 changed files with 69 additions and 22 deletions
+3
View File
@@ -2224,6 +2224,9 @@ protected:
*/
virtual void PrintSpace( int depth );
void Print( const char* format, ... );
void Write( const char* data, size_t size );
inline void Write( const char* data ) { Write( data, strlen( data ) ); }
void Putc( char ch );
void SealElementIfJustOpened();
bool _elementJustOpened;