A File stored in a Ouisync repository.
Closes the file.
Flushes any pending writes to the file.
Returns the length of this file in bytes
Returns the sync progress of this file, that is, the total byte size of all the blocks of this file that's already been downloaded.
Reads the given amount of bytes from this file, starting at the given offset.
Truncates the file to the given length.
Writes the content of the array to the file at the given offset.