• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Switching from NSString to NSData for byte input from file. (Was: Reading individual bytes from a string)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Setting a custom NSImageCell (From: Jim Turner <email@hidden>)
 >Re: Setting a custom NSImageCell (From: Mike Abdullah <email@hidden>)
 >Reading individual bytes from a string (From: Phil Faber <email@hidden>)
 >Re: Reading individual bytes from a string (From: Ondra Cada <email@hidden>)
 >Switching from NSString to NSData for byte input from file. (Was: Reading individual bytes from a string) (From: Phil Faber <email@hidden>)
 >Re: Switching from NSString to NSData for byte input from file. (Was: Reading individual bytes from a string) (From: Alan Hart <email@hidden>)

  • Prev by Date: Re: Switching from NSString to NSData for byte input from file. (Was: Reading individual bytes from a string)
  • Next by Date: Reuse Carbon custom menu in Cocoa window with PopUpMenuSelect()?
  • Previous by thread: Re: Switching from NSString to NSData for byte input from file. (Was: Reading individual bytes from a string)
  • Next by thread: Re: Reading individual bytes from a string
  • Index(es):
    • Date
    • Thread