| 2540 | } |
| 2541 | |
| 2542 | bool 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 | |
| 2552 | bool File::replaceWithData (const void* const dataToWrite, |
| 2553 | const int numberOfBytes) const |
no test coverage detected