class

MDNS::RR::CharacterString

Inherits BinData / Reference / Object

Constants

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
PARTS = [{type: "basic", name: text_size, cls: UInt8, onlyif: nil, verify: nil, value: -> do text.size.to_u8 end}, {type: "string", name: text, cls: String, onlyif: nil, verify: nil, length: -> do text_size end, value: nil, encoding: nil}] of Nil
REMAINING = [] of Nil

Class methods

bit_fields
Source

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.

Source
text
text=(text : String)
text_size
text_size=(text_size : UInt8)