decode_version (SNMP::Message)

    # File lib/snmp/pdu.rb, line 45
            def decode_version(data)
                version_data, remainder = decode_integer(data)
                if version_data == SNMP_V1
                    version = :SNMPv1
                elsif version_data == SNMP_V2C
                    version = :SNMPv2c
                else
                    raise UnsupportedVersion, version_data.to_s
                end
                return version, remainder
            end