[Mono-devel-list] No defined byte order for C#?

Jonathan Pryor jonpryor at vt.edu
Fri Dec 19 07:28:57 EST 2003


The most up-to-date version can be found at:

	http://www.ecma-international.org/publications/standards/Ecma-335.html

I really wish they were better about versioning, though.  The current
version claims to be "2nd edition - December 2002", but it's a larger
PDF than the "2nd edition - December 2002" that I previously downloaded
-- 5151762 bytes (current) vs. 5453635 bytes (downloaded Feb. 2, 2003). 
Strange.

 - Jon

On Thu, 2003-12-18 at 15:28, Michi Henning wrote:
> > >From the ECMA-335 (ECMA CLI) standard, Partition I:
> > 
> > 12.6.3 Byte Ordering
> > 
> > For datatypes larger than 1 byte, the byte ordering is dependent
> > on the target CPU.  Code that depends on byte ordering may not 
> > run on all platforms.  The PE file format (See Section12.2) 
> > allows the file to be marked to indicate that it depends on a 
> > particular type ordering.
> > 
> > Note that this is from the 2nd edition (December 2002) version of the
> > standard.  The original version did not contain this clause.
> 
> Ah, thanks muchly for that! At least that's a definitive statement. (I only
> looked in the language spec that's available for download on MSDN.
> Do you have a link to the more up-to-date version?)
> 
> Cheers,
> 
> Michi.
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list