Remove duplicate decodeLength function
Remove unused and redundant snmp.dec function