Filament::Dissect::DissectResult
Inherits Struct < Value < Object
Dissection outcome for a single protocol layer within a packet
Constructors
new(protocol : Protocol, payload_offset : UInt32, payload_length : UInt32, fields : Hash(String, FieldValue) = Hash(String, FieldValue).new, next_protocol : Protocol | Nil = nil, errors : Array(String) = [] of String)
SourceInstance methods
[]?(key : String) : FieldValue | Nil
Sourcebool?(key : String) : Bool | Nil
Sourcebytes?(key : String) : Bytes | Nil
Sourceerrors
Sourcefields
Sourcenext_protocol
Sourcepayload_length
Sourcepayload_offset
Sourceprotocol
Sourcestring?(key : String) : String | Nil
Sourceuint16?(key : String) : UInt16 | Nil
Sourceuint32?(key : String) : UInt32 | Nil
Sourcevalid?
Source