class
MQTT::V3::UnsubTopic
- MQTT::V3::UnsubTopic
- BinData
- Reference
- Object
Defined in:
mqtt/v3/unsubscribe.crConstant Summary
-
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 Method Summary
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.