dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Endianness?


From: Rich Baumann
Subject: Re: [DotGNU]Endianness?
Date: 07 Nov 2003 17:01:39 -0500

On Fri, 2003-11-07 at 12:30, HJ wrote:
> Is it known wether MS.NET is host-endian or little-endian always?

The ECMA spec requires that conforming CLRs always be little-endian. The
MS.NET CLR only runs on x86, which is little-endian, so it follows the
spec. The Portable.NET CLR, when running on big-endian machines, does
byte-swapping to provide a little-endian view of the data, so it also
follows the spec.


Rich



reply via email to

[Prev in Thread] Current Thread [Next in Thread]