byte swapping large chunks of data
byte swapping large chunks of data
- Subject: byte swapping large chunks of data
- From: Jaime Magiera <email@hidden>
- Date: Thu, 30 Aug 2007 14:39:59 -0400
Hey folks,
Being new to the whole byte-swapping thing, I have a few questions
while writing data for Quicktime Movies and other files of the like.
Until now, I've been adding bytes to the files as longs, using
EndianU32_NtoB for the swapping. This works properly of course.
However, I'm curious if there are methods for swapping larger chunks
of bytes (96, 36, etc.) at a time. (other than iterating)
Is there a way I could do a swap on a whole NSData? That would be the
ultimate solution.
thanks for any help,
Jaime Magiera
Sensory Research
http://www.sensoryresearch.net
_______________________________________________
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