class

MQTT::V3::UnsubTopic

Inherits BinData / Reference / Object

Constants

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [MQTT::V3::UnsubTopic]
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
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
bytesize
Source
filter
filter=(filter : String)
filter_size
filter_size=(filter_size : UInt16)