class MDNS::DomainNameComponent
- MDNS::DomainNameComponent
- BinData
- Reference
- Object
Defined in:
dns/domain_name.crConstant Summary
-
ENDIAN =
["big"]
-
KLASS_NAME =
[MDNS::DomainNameComponent]
-
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
-
REMAINING =
[] of Nil
Class Method Summary
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)