class

MDNS::RR::HardwareInfo

Inherits BinData / Reference / Object

Constants

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [MDNS::RR::HardwareInfo]
PARTS = [{type: "string", name: cpu, cls: String, onlyif: nil, verify: nil, length: nil, value: nil, encoding: nil}, {type: "string", name: os, cls: String, onlyif: nil, verify: nil, length: nil, 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
cpu
cpu=(cpu : String)
os
os=(os : String)