Byte swapping using NSInputStream
Byte swapping using NSInputStream
- Subject: Byte swapping using NSInputStream
- From: Martin <email@hidden>
- Date: Mon, 30 Apr 2007 23:00:58 +0100
Hello list,
Can someone point me in the direction of how to sway the byte order
of data read via NSInputStream?
I am writing an application on a G5 (10.4) that needs to read a data
file from a Windows Share, I have got the stream reading the file,
but I guess it is reading in big endian order. What order would the
bytes be read if the application was on a Intel based Mac?
Thanks Martin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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