Contents

seek(toFileOffset:)

Moves the file pointer to the specified offset within the file represented by the receiver.

Declaration

func seek(toFileOffset offset: UInt64)

Parameters

  • offset:

    The offset to seek to.

Mentioned in

Discussion

Raises fileHandleOperationException if called on a file handle representing a pipe or socket, if the file descriptor is closed, or if any other error occurs.

See Also

Deprecated