struct

Durian::Record::A

Inherits Durian::Record / Struct / Value / Object

Constructors

new(ipv4Address : Socket::IPAddress | Nil = nil, cls : Cls = Cls::Internet, ttl : UInt32 = 0_u32, from : String | Nil = nil)
Source

Class methods

additional_from_io?(io : IO, buffer : IO)
Source
answer_from_io?(io : IO, buffer : IO)
Source
authority_from_io?(io : IO, buffer : IO)
Source
decode_additional_ipv4_address(io : IO, buffer : IO, length : Int)
Source
decode_answer_ipv4_address(io : IO, buffer : IO, length : Int)
Source
decode_authority_ipv4_address(io : IO, buffer : IO, length : Int)
Source

Instance methods

ipv4Address
Source
ipv4Address=(ipv4Address : Socket::IPAddress | Nil)
Source