Hi
Please help me out?
In PER (aligned)encoding of Constrained Integer Types, how the following is encoded.
integer1 INTEGER (0..4294967295) :: 2560
How many bits are used to represent the length?
In general, how to know the number of bits if the range is greater than 0xffffffff??
Please verify whether this is correct or not?
I saw the decoding of 2560 as 40 0a 00.
But 40 is 0100 0000 .
If the first 3 bits(I assumed it thinking that the number will not be greater than 8 bytes...Is this correct or not??) represent the length field of the integer, 010 is 2 and
since it is an offset from 1 ,the length of that integer will be 2+1=3 bytes.
Is that 3 bytes are 40 0a and 00 OR 0a 00 and the next byte.
Please provide me the aligned PER decoding for 2560 with the range (0..4294967295).
Regards
Santosh
Still single? Meet the perfect match. Join BharatMatrimony.com for FREE
_______________________________________________ ASN1 mailing list [EMAIL PROTECTED] http://lists.asn1.org/mailman/listinfo/asn1
