NSFileHandle Class Reference
PDF
Overview
Tasks
Getting a File Handle
Creating a File Handle
Getting a File Descriptor
Reading from a File Handle
Writing to a File Handle
Communicating Asynchronously
Seeking Within a File
Operating on a File
Class Methods
fileHandleForReadingAtPath:
fileHandleForUpdatingAtPath:
fileHandleForWritingAtPath:
fileHandleWithNullDevice
fileHandleWithStandardError
fileHandleWithStandardInput
fileHandleWithStandardOutput
Instance Methods
acceptConnectionInBackgroundAndNotify
acceptConnectionInBackgroundAndNotifyForModes:
availableData
closeFile
fileDescriptor
initWithFileDescriptor:
initWithFileDescriptor:closeOnDealloc:
offsetInFile
readDataOfLength:
readDataToEndOfFile
readInBackgroundAndNotify
readInBackgroundAndNotifyForModes:
readToEndOfFileInBackgroundAndNotify
readToEndOfFileInBackgroundAndNotifyForModes:
seekToEndOfFile
seekToFileOffset:
synchronizeFile
truncateFileAtOffset:
waitForDataInBackgroundAndNotify
waitForDataInBackgroundAndNotifyForModes:
writeData:
Constants
Keys for Notification UserInfo Dictionary
Exception Names
Unused Constant
Notifications
NSFileHandleConnectionAcceptedNotification
NSFileHandleDataAvailableNotification
NSFileHandleReadCompletionNotification
NSFileHandleReadToEndOfFileCompletionNotification
Revision History
Index
Companion Guide
Low-Level File Management Programming Topics