[Mono-dev] Are there any endian issues with unsafe code?
Miguel de Icaza
miguel at ximian.com
Tue Nov 8 14:04:30 EST 2005
Hello,
> BTW, BinaryReader/Writer is always little-endian. This is documented
> on MSDN.
>
> BinaryReader.ReadInt32: little-endian
> Bitmap.LockBits: big-endian
> Buffer.BlockCopy: big-endian
> LayoutKind.Explicit: big-endian
> Marshal.Copy: big-endian
> Marshal.WriteByte: big-endian
> Unsafe code: big-endian
I contributed some docs to monodoc with this information (To
BinaryReader/Writer) but it might be good if someone has some cycles to
spare to add some more.
More information about the Mono-devel-list
mailing list