Skip to main content

SeekFile

This function was added in DSL 4

Description​

Only allowed on non-zipped files, seeks a file like ANSI C.

function SeekFile(file, offset, whence) --[[ ... ]] end

Parameters​

  • file: userdata - The file handle to seek. This should be the same handle returned by OpenFile.
  • offset: number - The number of bytes to move the file pointer.
  • whence: string - The position from which to seek.

Return Values​

None.

Example​

-- Todo...

See Also​