Hi,

 

Well the BitConverter documentation says that it operates on the raw
bitstream, so this should be expected. Other than that afaik only the Buffer
class works directly on raw data.  And of course anything related to
pointers will be endian-dependent as well.  

 

Greetings

Andreas (other one)

 

Von: mono-devel-list-boun...@lists.ximian.com
[mailto:mono-devel-list-boun...@lists.ximian.com] Im Auftrag von Andreas
Heertsch
Gesendet: Montag, 21. September 2009 17:51
An: mono-devel-list@lists.ximian.com
Betreff: [Mono-dev] list of platform-differences

 

As I became aware, that BitConverter.GetBytes(0x1234) returns 0,0 on OSX I
thought: that is a bug. But Miguel pointed out, that this depends on the
platform OSX: "big-endian system (PowerPC) as opposed to a little endian
system."

Up to that I hoped, that mono would hide all differences of any plattform
from my mono-app. But this seems not to be the case. (I think, this is a
challenge!)
Is there a list of platform specific differences, which have a reflection in
mono?
Andreas
-- 
EndoTherm GmbH
http://www.endotherm.ch

 

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to