Re: Confusing illustration for 3.2.11

Taras Tielkes <[email protected]> Wed, 28 Aug 2002 21:09:12 +0200
Newsgroups gmane.comp.windows.devel.dime
Message-ID <012501c24ec6$67bb3b50$0201a8c0@anneli>
Hi Henrik,

In exactly what sense do you see the option elements as "special"?

What were the reasons to add padding to some elements of the DIME
message? Performace? Programming ease of use?

Regards,

Taras

----- Original Message -----
From: "Henrik Frystyk Nielsen" <[email protected]>
To: <[email protected]>
Sent: Wednesday, August 28, 2002 6:53 PM
Subject: Re: [DIME] Confusing illustration for 3.2.11


> Hmm, given that the option elements all are part of the OPTIONS
field
> which *is* padded to 4 octet alignment, I think we have the padding
we
> need to ensure alignment. Any additional padding between individual
> option elements doesn't have any impact on the overall parsing of a
DIME
> record. This differ from how the other fields work and because the
> option elements are special in this regard, I think it makes sense
not
> to require individual padding.
>
> Henrik
>
> >I'm not complaining, but this seems rather inconsistent.  We
> >were careful to make sure there was padding everywhere else,
> >but now we don't care whether the individual option elements
> >are padded.  Seems odd.  We should have padded everywhere or
> >nowhere.  (Can't imagine how I missed this
> >before!)
>