Hi!

I have a question about BIT_STRINGs because I haven't understood one thing...

If I have the following ASN.1 definition:

MyBitString ::= BIT_STRING {
valueA (0),
valueB (2) }

What are the correct representation of the BIT_STRING bits correspondent to valueB?

a) 01000000 (the lowest bit is at left and the value is the decimal correspondent value)
b) 00000010 (the lowest bit is at right and the value is the decimal correspondent value)
c) 00100000 (the lowest bit is at left and the value means that the correspondent second (2) bit number has value one (1))
d) 00000100 (the lowest bit is at right and the value means that the correspondent second (2) bit number has value one (1))

I suppose that's the option a) but I don't know If I am right!?

Thanks in advance,
Ricardo Barroso


Reply via email to