Michel Gallant <(E-Mail Removed)> wrote:
> Basically that is correct. The BinaryWriters write multi-bytes
> as little-endian ordered.
Well, the ones in the Windows version of .NET do. However, the
documentation doesn't specify which endianness is used, and there is
precedent for it being system-specific - look at BitConverter.
One of these days, I'll get round to writing a version of
BinaryReader/BinaryWriter which takes an endianness as its parameter...
and likewise BitConverter.
--
Jon Skeet - <(E-Mail Removed)>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too