abstract struct MQTT::Protocol::Packet

Direct Known Subclasses

Defined in:

mqtt/protocol/packets/packets.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_io(io : ::IO) : Packet #

[View source]
def self.from_io(io : MQTT::Protocol::IO) : Packet #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def self.new #

[View source]

Instance Method Detail

def bytesize : UInt32 #

[View source]
def initialize #

[View source]
def remaining_length : UInt32 #

[View source]
abstract def to_io(io : MQTT::Protocol::IO) #

[View source]