File :: lastPosition - Last file position
The last file position is the position set when accessing the file the last time. Setting file position allows reading or writing data from/to a specific file position. Setting file position after end of file will increase the file size. Data filled in the undefined area after current end of file is undefined.
Return value: Position in an area or file ( int64 )
The big position value usually refers to a relative position in an area or file.
Implementation overview
- Get last file position accessed
File :: lastPosition (  ) - Set last file position
File :: lastPosition ( iPosition64 )
Implementation details
- to list
-
Set last file position
int64 File  :: lastPosition ( int64 iPosition64 )
The function allows changing the last file position to iPosition64 . When the new position passed in is larger than file size, the area from last position to iPosition64 may contain undefined data.
- iPosition64
- Position in an area or file
The big position value usually refers to a relative position in an area or file.
to list
- iPosition64
- Position in an area or file