MDNS::DomainNamePointer
Inherits MDNS::DomainNameHelpers / BinData / Reference / Object
The list of components that make up a domain name
Constants
AFTER_DESERIALIZE = [] of Nil
The list of components that make up a domain name
BEFORE_SERIALIZE = [] of Nil
The list of components that make up a domain name
ENDIAN = ["big"]
The list of components that make up a domain name
KLASS_NAME = [MDNS::DomainNamePointer]
The list of components that make up a domain name
PARTS = [{type: "variable_array", name: raw_domain_name, cls: DomainNameComponent,
onlyif: nil, verify: nil, read_next: -> do
if name = raw_domain_name[-1]?
name.read_next?
else
true
end
end,
value: nil}] of Nil
The list of components that make up a domain name
REMAINING = [] of Nil
The list of components that make up a domain name
Class methods
Instance methods
__format__
A group or bit_field captures the endianness at its declaration point, so
declaring endian after one would silently leave it system-endian. Fail loudly.
raw_domain_name