company logo

ZipArchive :: fileWrite - Load file from binary to archive

The function loads binary data passed in cBinary to file with the path passed in sFilePath. When the file does already exist, it will be updated completely by the content passed to the function. When the file does not yet exist in the archive, it will be created including all required directories.

When the zip archive is not opened, the function trows an exception.

Implementation details

ZipArchive  :: fileWrite ( odaba::Binary &cBinary, odaba::String &sFilePath )
  • cBinary - Binary data block handle

    Constant reference to a binary data block handle, which may contain binary data up to 2 GB.

  • sFilePath - Complete file path