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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to