saveFile
Saves a source of data bytes to a path.
Return
The byte size of the saved file.
Parameters
filePath
The path where the file will be saved.
data
A Flow of ByteArray representing the file data.
Throws
PowerSyncException
If an error occurs during the save operation.
CancellationException
If the operation is cancelled.