MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / appendData

Method appendData

3rdparty/Amalgamate/juce_core_amalgam.cpp:2542–2550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2540}
2541
2542bool File::appendData (const void* const dataToAppend,
2543 const int numberOfBytes) const
2544{
2545 if (numberOfBytes <= 0)
2546 return true;
2547
2548 FileOutputStream out (*this, 8192);
2549 return out.openedOk() && out.write (dataToAppend, numberOfBytes);
2550}
2551
2552bool File::replaceWithData (const void* const dataToWrite,
2553 const int numberOfBytes) const

Callers 2

replaceWithDataMethod · 0.80
runTestMethod · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected