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

Method CanDecode

parser.go:39–39  ·  view source on GitHub ↗

CanDecode returns the set of LayerTypes this DecodingLayer can decode. For Layers that are also DecodingLayers, this will most often be that Layer's LayerType().

()

Source from the content-addressed store, hash-verified

37 // decode. For Layers that are also DecodingLayers, this will most
38 // often be that Layer's LayerType().
39 CanDecode() LayerClass
40 // NextLayerType returns the LayerType which should be used to decode
41 // the LayerPayload.
42 NextLayerType() LayerType

Callers 3

PutMethod · 0.65
PutMethod · 0.65
PutMethod · 0.65

Implementers 1

LCMlayers/lcm.go

Calls

no outgoing calls

Tested by

no test coverage detected