def WriteFile(self, file_path, file_data, access_mode='wb'):
    self._file_object = open(file_path, access_mode)
    self._file_object.write(file_data)
    self._file_object.close()
Writes the data to file.
dataset/ETHPy150Open libyal/libyal/scripts/source-generate.py/FileWriter.WriteFile