Can u please check this...
if the range was 0 ...269
then what is the meaning of 0 | 15 .. 269
i think the range in the above case should be
269 -15 = 254 +1 = 255
plus
0 i.e. one
so the range should be 256
Olivier Dubuisson <[EMAIL PROTECTED]> on 11/10/2000 09:25:37 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Praful bhoyar/LTITLVSH)
Subject: Re: [ASN.1] per encoding
[EMAIL PROTECTED] wrote:
>
> I am trying to prepare data for a particular ASN.1 PER encoding . But i
am
> facing problems for encoding the following
>
> TGD ::= INTEGER (0|15..269)
>
> in the above case what would be the range
0..269
> Please note that i am considering the ALLIGNED PER encoding.
The range does not change whether you use ALIGNED or UNALIGNED PER.
--
Olivier DUBUISSON
france telecom R&D
_ DTL/MSV - 22307 Lannion Cedex - France
( ) tel: +33 2 96 05 38 50 - fax: +33 2 96 05 39 45
/ \/ --------------------------------------
\_/\ Site ASN.1 : http://asn1.elibel.tm.fr/