Re: NSData and endianness
Re: NSData and endianness
- Subject: Re: NSData and endianness
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 18 Jul 2007 11:40:36 -0600
On Jul 18, 2007, at 5:51 AM, ad veloper wrote:
Currently I'm using an NSMutableData object with:
"- (void)appendBytes:(const void *)bytes length:(unsigned)length" to
incrementally build the NSData object as I interate the c-style array.
I'm wary of endianness issues, but unsure as to whether or not they
apply in this situation?
They apply if and only if the bytes you are storing in the NSData
object are larger than 1 byte.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden