file_data Property
The contents of the file being added to the archive.
Syntax
def get_file_data() -> bytes: ... def set_file_data(value: bytes) -> None: ...
file_data = property(get_file_data, set_file_data)
Remarks
Assign this property with a byte array containing the contents of the file being added,if you set the corresponding entry's DataSource to fdsBuffer.
Use file_stream property, with DataSource set to fdsStream, to provide the data in a stream instead. Alternatively, use fdsFile data source to supply the file data in a disk file.