[Mono-bugs] [Bug 540577] BitConverter.GetBytes(0x1234) returns 0, 0

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 20 22:26:32 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=540577

User miguel at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540577#c1


Miguel de Icaza <miguel at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |miguel at novell.com
         Resolution|                            |INVALID




--- Comment #1 from Miguel de Icaza <miguel at novell.com>  2009-09-20 20:26:29 MDT ---
That is because you are running on a big-endian system (PowerPC) as opposed to
a little endian system.

I suggest you use Mono.DataConvert instead which is able to do a lot more than
System.BitConverter.

http://www.mono-project.com/Mono_DataConvert

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list