Hi All,
While decode of INAP protocol we came across an Integer field as follows

gapInterval [1] IMPLICIT INTEGER (-1..60000)

Can anyone advice us on how to encode a value of 59900  in BER(Hex equivalent of
59900 is E9 FC which when decoded gives a negative value) . So we gave encoded
it as 00 E9 FC. But we have problems with decode of 3 byte negative value.
Can negative value be specified in 3 bytes or always in 4 bytes.
Kindly advice us
Thanks in advance
Praful



Reply via email to