title: Wireshark: SNMP - UNSIGNED32
body: <p>I have a question about SNMP encoding of UNSIGNED32. I tried to implemet a stack to process SNMP requests, and I would like to use UNSIGNED32 type. But when I use a Wireshark to dump the net traffic, it shows, that the type is GAUGE32 (which is ok, according to SNMPv2) but it shows value &quot;-1&quot; (I sent data 0xFFFFFFFF). The value is encoded via ASN.1 as 0x42 0x04 0xFF 0xFF 0xFF 0xFF, and I think it should show 4294967295. So my question is -&gt; Is that value encoded in a wrong way and there should be leading zero () or Wireshark decode it poorly?</p>