• 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: Problem with japanese systems [The Why of all this]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with japanese systems [The Why of all this]


  • Subject: Re: Problem with japanese systems [The Why of all this]
  • From: "John C. Randolph" <email@hidden>
  • Date: Sun, 24 Jul 2005 23:24:26 -0700


On Jul 24, 2005, at 10:40 PM, Mark Williams wrote:

The reason I do not use the NSData... Well I cannot explain exactly why or I'd be telling you how I create the hash and then I'd have to reinvent that particular wheel. But the reason I insist on continuing to read the data in to a string is that I couldn't figure out how to get the function to correctly perform operations on each individual byte. What I was trying to do simply did not work and this includes using subdata methods and passing a range of index,1 to work one byte at a time. I could not convert the bytes into something I could use the way I needed to use them and I gave up. To this day I cannot get it to work right, though I will admit I have not worked with it in a few months.\

Why didn't you just cast the void* that you get from NSData's -bytes method to a char*?


-jcr



John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.



_______________________________________________
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: 
 >Fwd: Problem with japanese systems (From: ObjM2 <email@hidden>)
 >Re: Problem with japanese systems [Solved?] (From: Mark Williams <email@hidden>)
 >Re: Problem with japanese systems [Solved?] (From: John Stiles <email@hidden>)
 >Re: Problem with japanese systems [The Why of all this] (From: Mark Williams <email@hidden>)

  • Prev by Date: Re: Problem with japanese systems [The Why of all this]
  • Next by Date: Re: PackageMaker question
  • Previous by thread: Re: Problem with japanese systems [The Why of all this]
  • Next by thread: Re: Problem with japanese systems [The Why of all this]
  • Index(es):
    • Date
    • Thread