MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / Write

Method Write

Source/ThirdParty/tinyxml2/tinyxml2.cpp:2451–2461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2449
2450
2451void XMLPrinter::Write( const char* data, size_t size )
2452{
2453 if ( _fp ) {
2454 fwrite ( data , sizeof(char), size, _fp);
2455 }
2456 else {
2457 char* p = _buffer.PushArr( static_cast<int>(size) ) - 1; // back up over the null terminator.
2458 memcpy( p, data, size );
2459 p[size] = 0;
2460 }
2461}
2462
2463
2464void XMLPrinter::Putc( char ch )

Callers 10

Resources_Create_SaveFunction · 0.45
Enums_Create_SaveFunction · 0.45
LoadFunction · 0.45
mainFunction · 0.45
WriteMd5InfoFunction · 0.45
RegressionTest_Md5Function · 0.45
Basic_General_Start_0Function · 0.45
Basic_General_End_0Function · 0.45
parse_optionsFunction · 0.45
mainFunction · 0.45

Calls 1

PushArrMethod · 0.80

Tested by 6

WriteMd5InfoFunction · 0.36
RegressionTest_Md5Function · 0.36
Basic_General_Start_0Function · 0.36
Basic_General_End_0Function · 0.36
parse_optionsFunction · 0.36
mainFunction · 0.36