struct PacketParser

Defined in:

handler/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def compression=(compression : Int32) #

[View source]
def format(packet : RawPacket) : Bytes #

[View source]
def parse(data : Bytes) : RawPacket | Nil #

[View source]