[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.sdk

Big vs Little Endian Byte Ordering

John Davis

8/31/2002 3:46:00 PM

Does anyone know if the BinaryWriter/BinaryReader is always Little Endian?
Or is it Big Endian on certain CPU's? I'm really scratching my head on this
one. In the MSDN documentation it states that ReadUInt16 of BinaryReader is
little endian. But none of the other number readers/writers state what they
are. Then to top it all off, there is the BitConverter class which has a
static member called IsLittleEndian. Is it possible one needs to check this
in order to know whether the BinaryWriter/BinaryReader classes are big or
little endian?