Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How is the Integer value -1 encoded?

encoded integer value
0
Posted

How is the Integer value -1 encoded?

0

> 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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123