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) > >

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 op

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

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: > > > > &g

Re: Byte Swapping (Re Post)

2006-02-14 Thread SGreen
gt;>on some data definition, I can assemble with the correct data types and > >>such. One of my requirements is that I have to store the data in raw > >>form, and when I pull the data out, it displays based on the > >> > >> > >configuration > &g

Re: Byte Swapping (Re Post)

2006-02-14 Thread gerald_clark
loats 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 am singling out the data I need, but now I need

Re: Byte Swapping (Re Post)

2006-02-14 Thread SGreen
re 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 am > singling out the data I need, but now I need to add the

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 of

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 what

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 it