Instance Method
インスタンスメソッド
readDataToEndOfFile
Reads the available data synchronously up to the end of file or maximum number of bytes.
Declaration
宣言
- (NSData
*)readDataToEndOfFile ;
Return Value
戻り値
The data available through the receiver up to maximum size that can be represented by an NSData
object or, if a communications channel, until an end-of-file indicator is returned.
レシーバを通して利用可能な、NSData
オブジェクトによって表現できる最大サイズまでまたは、通信経路ならば、ファイル終端指示子が返されるまでのデータ。
Discussion
議論
This method invokes readDataOfLength:
as part of its implementation.
このメソッドは、readDataOfLength:
をそれの実装の一部として発動します。
Important
重要
This method raises NSFileHandleOperationException
if attempts to determine the file-handle type fail or if attempts to read from the file or channel fail.
See Also
参照
Deprecated
非推奨
- readDataOfLength:
Reads data synchronously up to the specified number of bytes.
Deprecated
非推奨
- writeData:
Writes the specified data synchronously to the file handle.
Deprecated
非推奨
offsetInFile
The position of the file pointer within the file represented by the file handle.
Deprecated
非推奨
- seekToEndOfFile
Places the file pointer at the end of the file referenced by the file handle and returns the new file offset.
Deprecated
非推奨
- seekToFileOffset:
Moves the file pointer to the specified offset within the file represented by the receiver.
ファイルポインタをレシーバによって表されるファイル内部の指定されたオフセットに移動します。
Deprecated
非推奨
- closeFile
Disallows further access to the represented file or communications channel and signals end of file on communications channels that permit writing.
表現されたファイルまたは通信経路へのもっと先のアクセスを禁止します、そして書き込み許可する通信経路上のファイルの終端を合図します。
Deprecated
非推奨
- synchronizeFile
Causes all in-memory data and attributes of the file represented by the handle to write to permanent storage.
Deprecated
非推奨
- truncateFileAtOffset:
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.
Deprecated
非推奨
Related Documentation
関連文書
availableData
The data currently available in the receiver.
レシーバにおいて現在利用可能なデータ。