FROM : Nick Rogers
DATE : Wed Apr 30 17:24:17 2008
hi,
I'm using:
[NSString stringWithCharacters:gptEntry.partName length:36];
where gptEntry struct have been filled in from the disk.
The string shows correct on ppc, while shows garbage on intel.
So how can I convert an entire such unichar array to correct-endian
format?
Is there any built-in support?
Thanks,
Nick
DATE : Wed Apr 30 17:24:17 2008
hi,
I'm using:
[NSString stringWithCharacters:gptEntry.partName length:36];
where gptEntry struct have been filled in from the disk.
The string shows correct on ppc, while shows garbage on intel.
So how can I convert an entire such unichar array to correct-endian
format?
Is there any built-in support?
Thanks,
Nick
| Related mails | Author | Date |
|---|---|---|
| Nick Rogers | Apr 30, 17:24 | |
| Jean-Daniel Dupas | Apr 30, 17:58 |






Cocoa mail archive

