• 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
Re: Reading little endian and big endian in objective c
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading little endian and big endian in objective c


  • Subject: Re: Reading little endian and big endian in objective c
  • From: James Bucanek <email@hidden>
  • Date: Thu, 29 Dec 2011 09:18:47 -0700

Waqar Ahmad <mailto:email@hidden> wrote (Thursday, December 29, 2011 12:22 AM +0500):

to read these values like first 4 bytes to a, next 2 bytes to b and so on in
little endian and big endian format.

This isn't really a filesystem question. I suggest you post this to the Cocoa-dev list if this doesn't answer your question.


See the (huge) family of functions in the Byte-Order Utilities reference. The function/macro/in-line you're probably interested in is CFSwapInt64BigToHost().

--
James Bucanek

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Reading little endian and big endian in objective c (From: Waqar Ahmad <email@hidden>)

  • Prev by Date: Reading little endian and big endian in objective c
  • Next by Date: Re: Plist
  • Previous by thread: Reading little endian and big endian in objective c
  • Next by thread: Re: Plist
  • Index(es):
    • Date
    • Thread