> -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)
>
>
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
> -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
@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
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
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 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
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
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
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
10 matches
Mail list logo