Instance Method インスタンスメソッド

offset()

Gets the position of the file pointer within the file.

Declaration 宣言

func offset() throws -> UInt64

Return Value 戻り値

The position of the file pointer within the file.

Discussion 議論

Throws an error if called on a file handle representing a pipe or socket, or if the file descriptor is closed.

See Also 参照

Seeking Within a File ファイルの内部をシークする