MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / writeData

Method writeData

lib/QuaZip/quazip/quazipfile.cpp:505–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503}
504
505qint64 QuaZipFile::writeData(const char* data, qint64 maxSize)
506{
507 p->setZipError(ZIP_OK);
508 p->setZipError(zipWriteInFileInZip(p->zip->getZipFile(), data, static_cast<uint>(maxSize)));
509 if (p->zipError != ZIP_OK) {
510 return -1;
511 }
512 p->writePos += maxSize;
513 return maxSize;
514}
515
516QString QuaZipFile::getFileName() const
517{

Callers

nothing calls this directly

Calls 3

zipWriteInFileInZipFunction · 0.85
setZipErrorMethod · 0.80
getZipFileMethod · 0.80

Tested by

no test coverage detected