Ethereal-dev: Re: [Ethereal-dev] Adding items/units in two formats ...

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard Sharpe <rsharpe@xxxxxxxxxx>
Date: Wed, 13 Mar 2002 15:12:38 +1030 (CST)
On Tue, 12 Mar 2002, Guy Harris wrote:

> On Wed, Mar 13, 2002 at 11:26:10AM +1030, Richard Sharpe wrote:
> > I want to add an item to a tree like the following:
> > 
> >     DataSegmentLength: 0x00000670 (Decimal equivalent)
> 
> Just out of curiosity, what is the reason to add it in both bases?  I'd
> expect lengths to be displayed only in decimal (as I have only 10
> fingers, not 16 fingers :-)).

The iSCSI dissector outputs lengths as Hex. I found it a bit inconvenient, 
but felt that, for the little-endian oriented among us, it might be 
useful to have both formats.

I guess I could live with Decimal. Of course, those whose natural base is 
11 might be miffed.

-- 
Regards
-----
Richard Sharpe, rsharpe@xxxxxxxxxx, rsharpe@xxxxxxxxx, 
sharpe@xxxxxxxxxxxx