class MQTT::V5::UnsubTopic

Overview

MQTT-3.10

Defined in:

mqtt/v5/subscribe.cr

Constant Summary

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 Method Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

MQTT-3.10


[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

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.


[View source]
def bytesize #

[View source]
def filter : String #

def filter=(filter : String) #

def filter_size : UInt16 #

def filter_size=(filter_size : UInt16) #