Thanks -----Original Message----- From: Thirumurugaram [mailto:[EMAIL PROTECTED]] Sent: Friday, October 20, 2000 7:12 AM To: '[EMAIL PROTECTED]' Subject: RE: [ASN.1] how to decode large integer type No.It's not correct. For, maxBitRate ::= INTEGER(0..4294967295) , Let the value to be encoded is 4294967290. Then the encoding will be , L:11 P:00 0000 C:1111 1111 1111 1111 1111 1111 1111 1010 L:11 The number of bits needed to represent the number of bytes that the max. value in the range will accomodate,with an offset one(always). So,while decoding the length should be taken as 4. P:00 0000 Length is octet-aligned. C:1111 1111 1111 1111 1111 1111 1111 1010 Encoding of the value 4294967290 Raam S. -----Original Message----- From: Patel, Avinkumar V (Avinkumar) [mailto:[EMAIL PROTECTED]] Sent: Friday, October 20, 2000 2:01 AM To: '[EMAIL PROTECTED]' Subject: RE: [ASN.1] how to decode large integer type L: 00000100 C: FFFFE9DF(it's in HEX,) -----Original Message----- From: Bing Zhang [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 10:54 AM To: [EMAIL PROTECTED] Subject: [ASN.1] how to decode large integer type Would anyone tell me how to encode a large integer number(Aligened variant, PER), for instance maxBitRate ::= INTEGER(0..4294967295) Thanks, bing
RE: [ASN.1] how to decode large integer type
Patel, Avinkumar V (Avinkumar) Fri, 20 Oct 2000 08:01:53 -0700
- [ASN.1] how to decode large integer type Bing Zhang
- Re: [ASN.1] how to decode large intege... Praful . bhoyar
- RE: [ASN.1] how to decode large intege... Thirumurugaram
- Re: [ASN.1] how to decode large intege... Patel, Avinkumar V (Avinkumar)
- Re: [ASN.1] how to decode large intege... John Larmouth
