The BitConverter class has a field IsLittleEndian which, according to the documentation:
Indicates the byte order ("endianness") in which data is stored in this computer architecture.
I notice in Reflector that the field is hard-coded to true in the static constructor of BitConverter.
So my question is, do I need to take account of IsLittleEndian when using the BitConverter - in other words, are there any .Net implementations running on big-endian platforms? And if not, what was the purpose of the field in the first place?
The .Net Micro Framework 4.1 supports big-endian - Source
SOME of the systems that the .NET Micro Framework runs on are (or can be...) big-endian. Version 4.1 introduced support for big-endian architectures.
You'd probably know if you were running on the micro framework, however...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With