Skip to Content.
Sympa Menu

freetds - RE: BIGENDIAN

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Bob Kline <bkline AT rksystems.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: RE: BIGENDIAN
  • Date: Wed, 11 Jul 2001 14:23:03 -0400 (EDT)


On Wed, 11 Jul 2001, Lowden, James K wrote:

> If you declared a variable:
>
> int foo = 512;
>
> and opened up the debugger, you'd find foo stored as 00 02.
>
> On a Sun box you'd see 20 00.

The re-ordering doesn't get that granular (the order of the nybbles is
preserved). So what you'd see on the Sun box is actually 02 00.

--
Bob Kline
mailto:bkline AT rksystems.com
http://www.rksystems.com






Archive powered by MHonArc 2.6.24.

Top of Page