Re: getting bytes out of NSData
Re: getting bytes out of NSData
- Subject: Re: getting bytes out of NSData
- From: Koen van der Drift <email@hidden>
- Date: Sat, 23 Jul 2005 12:28:21 -0400
On Jul 22, 2005, at 8:47 PM, Sherm Pendley wrote:
If you *are* doing this a lot, you might consider making a single
call to -bytes, and using simple pointer arithmetic after that, if
you can - much faster than repeatedly calling -bytes.
The method that this snippet is in, only needs to lookup one char at
a time. However, the method could be called many times after each
other, so I might need to rethink my code.
Oh, and thanks for the Shark tip, I forgot aboit that. Great that I
can call it now directly from within Xcode.
- Koen.
_______________________________________________
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