RE: Byte Swapping (Re Post)

2006-02-17 Thread Dirk Bremer
-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

Re: Byte Swapping

2006-02-16 Thread Remo Tex
David Godsey wrote: This might be an unusual question because mysql always stores in little endian for all platforms (if I'm not mistaken). However, I am receiving data from several different platforms (custom boards with various processors) in raw form. I will have stored as a configuration

Re: Byte Swapping (Re Post)

2006-02-14 Thread SGreen
with integer types, I may need to do some byte swapping (because this data can come from variouse systems that could be either big or little endian). So I am singling out the data I need, but now I need to add the ability to byte swap the data. Keep in mind that it would be best if I can do

Re: Byte Swapping (Re Post)

2006-02-14 Thread gerald_clark
standards so I don't have to worry about those, however with integer types, I may need to do some byte swapping (because this data can come from variouse systems that could be either big or little endian). So I am singling out the data I need, but now I need to add the ability to byte swap

Re: Byte Swapping (Re Post)

2006-02-14 Thread SGreen
(with the correct data types and such). So floats and doubles are IEEE standards so I don't have to worry about those, however with integer types, I may need to do some byte swapping (because this data can come from variouse systems that could be either big or little endian). So I

RE: Byte Swapping (Re Post)

2006-02-14 Thread Gordon Bruce
@lists.mysql.com; David Godsey Subject: Re: Byte Swapping (Re Post) gerald_clark [EMAIL PROTECTED] wrote on 02/14/2006 03:59:21 PM: [EMAIL PROTECTED] wrote: David Godsey [EMAIL PROTECTED] wrote on 02/14/2006 03:28:41 PM: Well, just thought I'd try one more time because I didn't get

RE: Byte Swapping (Re Post)

2006-02-14 Thread Dirk Bremer
-Original Message- From: Gordon Bruce [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 15:42 To: [EMAIL PROTECTED]; gerald_clark Cc: mysql@lists.mysql.com; David Godsey Subject: RE: Byte Swapping (Re Post) If the order of the bytes is opposite between big-endian

Byte Swapping

2006-02-10 Thread David Godsey
This might be an unusual question because mysql always stores in little endian for all platforms (if I'm not mistaken). However, I am receiving data from several different platforms (custom boards with various processors) in raw form. I will have stored as a configuration option what endianess

Re: Byte Swapping

2006-02-10 Thread Jeremy Cole
Hi David, This might be an unusual question because mysql always stores in little endian for all platforms (if I'm not mistaken). However, I am receiving data from several different platforms (custom boards with various processors) in raw form. I will have stored as a configuration option

Re: Byte Swapping

2006-02-10 Thread David Godsey
If I do it in C I need to do a user-defined function correct? Anyway, I am infact storing the data raw. Unfortunately byte swapping before is not an option because I am getting a stream of raw data and storing it in a blob field. Then based on some configuration, I pull parts of the data out