class MDNS::DomainNamePointer

Overview

The list of components that make up a domain name

Included Modules

Direct Known Subclasses

Defined in:

dns/domain_name.cr

Constant Summary

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, length: -> 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 Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from module MDNS::DomainNameHelpers

domain_name domain_name, domain_name=(name) domain_name=, original_io : IO::Memory | Nil original_io, original_io=(original_io : IO::Memory | Nil) original_io=, set_io(io : IO::Memory | Nil) set_io

Class Method Detail

def self.bit_fields #

The list of components that make up a domain name


[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def raw_domain_name : Array(DomainNameComponent) #

def raw_domain_name=(raw_domain_name : Array(DomainNameComponent)) #

Macro Detail

macro mdns_domain_name_component(name, onlyif = nil, verify = nil, value = nil) #

The list of components that make up a domain name


[View source]
macro mdns_domain_name_pointer(name, onlyif = nil, verify = nil, value = nil) #

The list of components that make up a domain name


[View source]