http://blog.csdn.net/ztp800201/article/details/7814913
NSFileHandle常用操作
-
+(NSFileHandle*)fileHandleForReadingAtPath:path
-
+(NSFileHandle*)fileHandleForWritingAtPath:path
-
+(NSFileHandle*)fileHandleForUpdatingAtPath:path
-
-(NSData*)availableData
-
-(NSData*)readDataToEndOfFile
-
-(NSData*)readDataOfLength:(unsigned int)bytes
-
-(void)writeData:data
-
-(unsigned long long)offsetInFile
-
-(void)seekToFileOffset:offset
-
-(unsigned long long)seekToEndOfFile
-
-(void)truncateFileAtOffset:offset
-
-(void)closeFile
-
阅读(877) | 评论(0) | 转发(0) |