• 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
Byte swapping using NSInputStream
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Byte swapping using NSInputStream
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Re: Rotation in PDFAnnotationFreeText in PDF Kit
  • Next by Date: NSManagedObjects bound to an NSPopUpBotton in a toobar
  • Previous by thread: TextFeild NSUndoManager
  • Next by thread: Re: Byte swapping using NSInputStream
  • Index(es):
    • Date
    • Thread