seek
seek(offset: Integer);
The seek method of the File class sets the file pointer to the position (in file units from the beginning of the file) specified in the offset parameter. The seek method automatically opens the file if it is not already open.
For Unicode text, the file unit is character (not byte). For Unicode text files that contain a Unicode File Marker, the file marker specified in the unicodeBOM property is ignored. The next read or write operation occurs from the specified position.
If the length of the file is greater than 2G byte file units, use the seek64 method to set the file pointer to the desired offset.