[Mono-bugs] [Bug 76155][Blo] Changed - BinaryWriter writes bytes on integers in wrong order on Darwin.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 21 12:47:24 EDT 2005

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lluis at ximian.com.


--- shadow/76155	2005-09-19 22:53:05.000000000 -0400
+++ shadow/76155.tmp.19863	2005-09-21 12:47:24.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 76155
 Product: Mono: Class Libraries
 Version: 1.1
 OS: other
 OS Details: Mac OS X 10.4.2. Darwin.
-Status: NEW   
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: Unknown
 Priority: Blocker
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: Nev at Delap.com               
 QAContact: mono-bugs at ximian.com
@@ -79,6 +79,14 @@
 ------- Additional Comments From Nev at Delap.com  2005-09-19 22:53 -------
 We've found that it's doing this deliberately in the Mono source. We 
 don't understand why. I guess you can close the bug.
+------- Additional Comments From lluis at ximian.com  2005-09-21 12:47 -------
+The BinaryWriter always writes values in little-endian format, so it
+will convert from big to little endian in a big-endian system.
+The BinaryReader expects input in little-endian format, and will
+convert to big-endian in big-endian systems.
+This means that systems using BinaryWriter/BinaryReader can share
+binary data without caring about byte order.

More information about the mono-bugs mailing list