How is the Integer value -1 encoded?
> I am looking for expert opinions on how negative one aka (-1) > is encoded using BER. This is > generated in response to an SNMP error on AIX. > > J.C. Magras Stallings has: “2’s complement representation with the minimum number of octets.” That would be 02 01 FF, where 02 is the type tag, 01 the length, and FF the value Stallings, W. (1993) SNMP, SNMPv2, and CMIP. Addison-Wesley, Reading, Massachusetts. Mike Allan 2.50.