class
MQTT::V5::UnsubTopic
- MQTT::V5::UnsubTopic
- BinData
- Reference
- Object
Overview
MQTT-3.10
Defined in:
mqtt/v5/subscribe.crConstant 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
-
.bit_fields
MQTT-3.10
Instance Method Summary
-
#__format__ : IO::ByteFormat
A
grouporbit_fieldcaptures the endianness at its declaration point, so declaringendianafter one would silently leave it system-endian. - #bytesize
- #filter : String
- #filter=(filter : String)
- #filter_size : UInt16
- #filter_size=(filter_size : UInt16)
Class Method Detail
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.