MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / PushHeader

Method PushHeader

native/thirdpart/tinyxml2/tinyxml2.cpp:2686–2695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2684
2685
2686void XMLPrinter::PushHeader( bool writeBOM, bool writeDec )
2687{
2688 if ( writeBOM ) {
2689 static const unsigned char bom[] = { TIXML_UTF_LEAD_0, TIXML_UTF_LEAD_1, TIXML_UTF_LEAD_2, 0 };
2690 Write( reinterpret_cast< const char* >( bom ) );
2691 }
2692 if ( writeDec ) {
2693 PushDeclaration( "xml version=\"1.0\"" );
2694 }
2695}
2696
2697void XMLPrinter::PrepareForNewNode( bool compactMode )
2698{

Callers

nothing calls this directly

Calls 1

WriteFunction · 0.70

Tested by

no test coverage detected