[Mono-dev] list of platform-differences

Andreas Nahr ClassDevelopment at A-SoftTech.com
Mon Sep 21 16:33:43 EDT 2009



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.  



Andreas (other one)


Von: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] Im Auftrag von Andreas
Gesendet: Montag, 21. September 2009 17:51
An: mono-devel-list at 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

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
Is there a list of platform specific differences, which have a reflection in
EndoTherm GmbH


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090921/d4e1ea5c/attachment.html 

More information about the Mono-devel-list mailing list