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

close

Closes the receiver. レシーバを閉じます。

Declaration 宣言

- (void)close;

Discussion 議論

Closing the stream terminates the flow of bytes and releases system resources that were reserved for the stream when it was opened. If the stream has been scheduled on a run loop, closing the stream implicitly removes the stream from the run loop. A stream that is closed can still be queried for its properties. ストリームを閉じることは、バイトの流れを終わらせます、そしてそれが開かれた時にストリームのために予約されたシステムリソースを開放します。ストリームが実行ループ上で予約されているならば、ストリームを閉じることは暗黙的にストリームを実行ループから取り除きます。閉じられるストリームは、依然としてそれのプロパティに対して質問されることが可能です。

See Also 参照

Using Streams ストリームを使う