[fix] Problem with ByteArray and FFI??

Torge Husfeldt torge.husfeldt at gmx.de
Tue Apr 29 19:55:01 UTC 2003


Hi,

I wonder what is wrong with SystemDictionary>>endianness.
This seems to work without ffi
and determines the endianness for me..

Just my two cents,

Torge

On Mon, 28 Apr 2003 12:38:27 -0700 (PDT), Chris Muller 
<afunkyobject at yahoo.com> wrote:

> Avi Bryant wrote:
>
> There is a separate "platform independent" category that does not require
> FFI, and that lets you explicitly choose whether you want little or big
> endian. This is what you should use for network protocols or
> serialization. The methods are, eg,
>
> #longAt:bigEndian:
> #longAt:put:bigEndian:
> #shortAt:bigEndian:
>
> =====
>
> Ah, these ARE the ones I'm using.  Magma doesn't use anything in the 
> "external
> access" category.  Michael, I'm not sure why you had a primitive failure.
>
> Thanks for re-clarifying this for everyone, Avi.
>
> - Chris
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/



More information about the Squeak-dev mailing list