Re: Reading little endian and big endian in objective c
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