Thursday 15 March 2012

How can I read bytes from a file in iphone application, chunk by chunk? -


I am trying to apply an iPhone application that can read certain bytes from a file and another file Can store in This process runs up to the end of the file. I am very new to the iphone application so please help me on what is the parent category for this specific type of implementation?

I had a large file that can not be read with NSData methods, so I used the following (Fine grain control for TechZen's suggestion for copy).

NSFileHandle * fileHandle = [NSFileHandle fileHandleForReadingAtPath: filePath]; [File handle tootfoil offset: offset]; NSDTA * data = [read filehandleDataOfileAMTH: length];

No comments:

Post a Comment