> -----Original Message-----
> From: Gordon Bruce [mailto:gordon@stripped]
> Sent: Tuesday, February 14, 2006 15:42
> To: SGreen@stripped; gerald_clark
> Cc: mysql@stripped; David Godsey
> Subject: RE: Byte Swapping (Re Post)
> If the order of the bytes is opposite between big-endian and
> little-endian, then if you can get the bytes in a string REVERSE()
> should flip the order.
REVERSE would alter the order of the bytes. To convert between
big-endian and little-endian, I believe that you need to reverse the
order of the bits in either a byte or a word.
Dirk Bremer - Senior Systems Engineer - ESS/AMS - NISC Lake St. Louis MO
- USA Central Time Zone
636-755-2652 fax 636-755-2503