Re: Switching from NSString to NSData for byte input from file. (Was: Reading individual bytes from a string)
Re: Switching from NSString to NSData for byte input from file. (Was: Reading individual bytes from a string)
- Subject: Re: Switching from NSString to NSData for byte input from file. (Was: Reading individual bytes from a string)
- From: Alan Hart <email@hidden>
- Date: Mon, 17 Apr 2006 22:06:10 +0100
On 17 Apr 2006, at 22:03, Alan Hart wrote:
char* c = [fileContents bytes][8]; to get the eighth character in
the read data bytes.
Correction: that should be char c, not char* c
Alan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden