func close()
Disallows further access to the represented file or communications channel and signals end of file on communications channels that permit writing.
表現されたファイルまたは通信経路へのもっと先のアクセスを禁止します、そして書き込み許可する通信経路上のファイルの終端を合図します。
func truncate(atOffset : UInt64)
Truncates or extends the file represented by the file handle to a specified offset within the file and puts the file pointer at that position.