In Files

  • resolv.rb

Resolv::DNS::Resource::IN::AAAA

Constants

TypeValue

Attributes

address[R]

Public Class Methods

decode_rdata(msg) click to toggle source
 
               # File resolv.rb, line 1694
def self.decode_rdata(msg)
  return self.new(IPv6.new(msg.get_bytes(16)))
end
            
new(address) click to toggle source
 
               # File resolv.rb, line 1685
def initialize(address)
  @address = IPv6.create(address)
end
            

Public Instance Methods

encode_rdata(msg) click to toggle source
 
               # File resolv.rb, line 1690
def encode_rdata(msg)
  msg.put_bytes(@address.address)
end