method
File.seek
File.seek(file: f, offset: o, whence: w)
Positions the cursor at offset bytes from whence: 0 the start, 1 the current position, 2 the end. Seeking to the end and reading File.tell measures a file.
Example
# doc-check: skip — illustrative File.seek(file: f, offset: 0, whence: 2) let size = File.tell(file: f) File.seek(file: f, offset: 0, whence: 0)