decode (SNMP::PDU)

    # File lib/snmp/pdu.rb, line 122
        def self.decode(pdu_class, pdu_data)
            request_id, remainder = decode_integer(pdu_data)
            error_status, remainder = decode_integer(remainder)
            error_index, remainder = decode_integer(remainder)
            varbind_list, remainder = VarBindList.decode(remainder)
            assert_no_remainder(remainder)
            pdu_class.new(request_id, varbind_list, error_status, error_index)
        end