Workspace 6.21.5
WriteByteArrayToFile

Writes a QByteArray to a binary file. Optionally, the operation can append to an existing file.

  • Default label: "Write QByteArray to file"
  • Member of plug-in: Built-in
  • Catalogue path: FileIO/Writers
Inputs:
File nameQString

DataQByteArray

Append if file existsboolIf the file already exists, append to it rather than overwriting its contents.
Use QSystemSemaphoreboolIf enabled, the operation will use the file system semaphore to ensure that writes can be done in parallel to the same file (the semaphore locks the file so that one thread can write while another waits).
Create pathbool

Create path if the directory does not already exist.