class MDNS::DomainNameComponent
- MDNS::DomainNameComponent
- BinData
- Reference
- Object
Overview
A single component of the domain name.
i.e. .com
Defined in:
dns/domain_name.crConstant Summary
-
ENDIAN =
["big"]
-
A single component of the domain name. i.e.
.com
-
KLASS_NAME =
[MDNS::DomainNameComponent]
-
A single component of the domain name. i.e.
.com
-
PARTS =
[{type: "bitfield", name: 0, cls: MDNS::DomainNameComponent, onlyif: nil, verify: nil}, {type: "basic", name: pointer_low, cls: UInt8, onlyif: -> do compressed? end, verify: nil, value: nil}, {type: "string", name: name, cls: String, onlyif: nil, verify: nil, length: -> do compressed? ? 0 : size end, value: nil, encoding: nil}] of Nil
-
A single component of the domain name. i.e.
.com
-
REMAINING =
[] of Nil
-
A single component of the domain name. i.e.
.com
Class Method Summary
-
.bit_fields
A single component of the domain name.
Instance Method Summary
- #__format__ : IO::ByteFormat
- #compressed?
- #get_name(io : IO::Memory) : String
- #indicator : Indicator
- #indicator=(indicator : UInt8)
- #indicator=(value : Indicator)
- #name : String
- #name=(name : String)
- #pointer_low : UInt8
- #pointer_low=(pointer_low : UInt8)
- #read_next?
- #size : UInt8
- #size=(size : UInt8)
Macro Summary
-
mdns_domain_name_component(name, onlyif = nil, verify = nil, value = nil)
A single component of the domain name.
Class Method Detail
Instance Method Detail
Macro Detail
A single component of the domain name.
i.e. .com