getSize

external fun getSize(): UInt53(source)

The getSize() method of the FileSystemSyncAccessHandle interface returns the size of the file associated with the handle in bytes.

MDN Reference