class

MQTT::V5::UnsubTopic

Inherits BinData / Reference / Object

MQTT-3.10

Constants

AFTER_DESERIALIZE = [] of Nil

MQTT-3.10

BEFORE_SERIALIZE = [] of Nil

MQTT-3.10

ENDIAN = ["big"]

MQTT-3.10

KLASS_NAME = [MQTT::V5::UnsubTopic]

MQTT-3.10

PARTS = [{type: "basic", name: filter_size, cls: UInt16, onlyif: nil, verify: nil, value: -> do filter.bytesize end, endian: nil}, {type: "string", name: filter, cls: String, onlyif: nil, verify: nil, length: -> do filter_size end, value: nil, encoding: nil}] of Nil

MQTT-3.10

REMAINING = [] of Nil

MQTT-3.10

Class methods

bit_fields

MQTT-3.10

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
bytesize
Source
filter
filter=(filter : String)
filter_size
filter_size=(filter_size : UInt16)