MCPcopy
hub / github.com/google/gopacket / Decode

Method Decode

decode.go:78–78  ·  view source on GitHub ↗

Decode decodes the bytes of a packet, sending decoded values and other information to PacketBuilder, and returning an error if unsuccessful. See the PacketBuilder documentation for more details.

([]byte, PacketBuilder)

Source from the content-addressed store, hash-verified

76 // information to PacketBuilder, and returning an error if unsuccessful. See
77 // the PacketBuilder documentation for more details.
78 Decode([]byte, PacketBuilder) error
79}
80
81// DecodeFunc wraps a function to make it a Decoder.

Callers 15

DecodeMethod · 0.95
NextDecoderMethod · 0.65
initialDecodeMethod · 0.65
decodeNextLayerMethod · 0.65
RunFunction · 0.65
mainFunction · 0.65
DecodeMethod · 0.65
DecodeMethod · 0.65
DecodeMethod · 0.65
DecodeMethod · 0.65

Implementers 1

Calls

no outgoing calls