Eric Richards wrote:
In one of my projects I'm using binary stream with
WriteShort and WritePString - Read as well.
Now if someday I do a Windows build isn't there
something I need to do about the LittleEndian thing?
I think you are ok with PStrings, but you would need to worry about shorts. One
thing you can do is pick an endianess and then just set the BinaryStream to be
that endianess on all platforms.
<shameless-plug>
Actually, my articles on TanGram in RB Developer talk a little bit about this
when I talk about writing and reading TanGram files in a cross-platform way.
</shameless-plug>
--
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KIdzMail & KidzLog: http://haranbanjo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|