Re: using NSFileManager to read data
Re: using NSFileManager to read data
- Subject: Re: using NSFileManager to read data
- From: Michael Vannorsdel <email@hidden>
- Date: Sat, 14 Jun 2008 22:20:05 -0600
NSFileHandle itself. Use seekToFileOffset: and readDataOfLength: to
get the bytes you want. Or you can drop down to the BSD layer and use
open/close, lseek, and read.
On Jun 14, 2008, at 8:05 PM, Angelo Chen wrote:
Hi,
NSFileManager's contentsAtPath can read the entire file, is there a
way to read only a specific bytes? something similar to
NSFileHandle's readDataOfLength? thanks,
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden