[Q] Endianness (was: [ANN] Ma client server)

David T. Lewis lewis at mail.msen.com
Wed Feb 5 11:13:16 UTC 2003


On Tue, Feb 04, 2003 at 08:27:42PM -0800, Chris Muller wrote:
> 
> > dependent. As far as I understand, Ma Client Server would cause problems when
> > used with mixed big/ low endian machines, but I'm not sure (just using little
> > endian ones), but I am not an expert.
> 
> I'm no endianness expert either.  My understanding is its two different ways to
> store an Integer, so a heterogeneous environment would be problematic.  I
> noticed that, when I set my appearance.. | display depth.. it provides both big
> and little endian.  I wonder whether endianness can be specified when putting
> numbers into a ByteArray..?

Yes. Have a look at all methods called '*endian*'. SystemDictionary>>endianness
will give you an idea of how this works.



More information about the Squeak-dev mailing list