Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
dns
v0.1.1
DNS
Header
IPv4Address
IPv6Address
Message
MessageType
Name
OpCode
Question
RecordClass
RecordType
Resolver
Config
NameServerConfig
ResponseCode
RR
Data
HINFO
MX
Record
SOA
WKS
Util
Built with Crystal 1.9.2
2023-10-08 11:26:38 UTC
class
DNS::RR::HINFO
DNS::RR::HINFO
Reference
Object
Defined in:
dns/rr/hinfo.cr
Constructors
.from_io
(io : IO, format : IO::ByteFormat) :
self
.new
(cpu : String =
""
, os : String =
""
)
Instance Method Summary
#cpu
: String
#cpu=
(cpu : String)
#os
: String
#os=
(os : String)
#to_io
(io : IO, format : IO::ByteFormat)
Constructor Detail
def self.
from_io
(io : IO, format : IO::ByteFormat) :
self
#
[
View source
]
def self.
new
(cpu : String =
""
, os : String =
""
)
#
[
View source
]
Instance Method Detail
def
cpu
: String
#
[
View source
]
def
cpu=
(cpu : String)
#
[
View source
]
def
os
: String
#
[
View source
]
def
os=
(os : String)
#
[
View source
]
def
to_io
(io : IO, format : IO::ByteFormat)
#
[
View source
]