func offset() -> UInt64
Gets the position of the file pointer within the file.
func seekToEnd () -> UInt64
Places the file pointer at the end of the file referenced by the file handle and returns the new file offset.
Availability 有効性
Technology
func seek(toOffset offset: UInt64
) throws
offset
The offset to seek to. このオフセットへとシークすることになります。
Throws an error if called on a file handle representing a pipe or socket, if the file descriptor is closed, or if any other error occurs while seeking.
func offset() -> UInt64
func seekToEnd () -> UInt64