> -----Original Message----- > From: David Godsey [mailto:[EMAIL PROTECTED] > Sent: Friday, February 17, 2006 08:42 > To: Dirk Bremer > Cc: Gordon Bruce; [EMAIL PROTECTED]; gerald_clark; > mysql@lists.mysql.com; David Godsey > Subject: RE: Byte Swapping (Re Post) > > Endianess is byte ordering not bit ordering: > http://www.cs.umass.edu/~verts/cs32/endian.html >
http://www.webopedia.com/TERM/b/big_endian.html Note that endian-ness can be expressed within a byte and within a word. It depends on how the data is delivered. If you were using a string representation of a number, it would be possible to reverse the bytes. If using a binary-form of a number that spans multiple bytes, simply reversing the bytes might not suffice. Again, it depends on the data. Dirk Bremer - Senior Systems Engineer - ESS/AMS - NISC Lake St. Louis MO - USA Central Time Zone 636-755-2652 fax 636-755-2503 [EMAIL PROTECTED] www.nisc.coop -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]