class DNS::RR::WKS

Defined in:

dns/rr/wks.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_io(io : IO, format : IO::ByteFormat) : self #

[View source]
def self.new(address : DNS::IPv4Address = "", protocol : UInt8 = 0, bitmap : Slice(UInt8) = Bytes.new(0)) #

[View source]

Instance Method Detail

def address : IPv4Address #

[View source]
def address=(address : IPv4Address) #

[View source]
def bitmap : Bytes #

[View source]
def bitmap=(bitmap : Bytes) #

[View source]
def protocol : UInt8 #

[View source]
def protocol=(protocol : UInt8) #

[View source]
def to_io(io : IO, format : IO::ByteFormat) #

[View source]