MCPcopy Index your code
hub / github.com/google/gopacket / Put

Method Put

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

Put adds new DecodingLayer to container. The new instance of the same DecodingLayerContainer is returned so it may be implemented as a value receiver.

(DecodingLayer)

Source from the content-addressed store, hash-verified

58 // the same DecodingLayerContainer is returned so it may be
59 // implemented as a value receiver.
60 Put(DecodingLayer) DecodingLayerContainer
61 // Decoder returns DecodingLayer to decode given LayerType and
62 // true if it was found. If no decoder found, return false.
63 Decoder(LayerType) (DecodingLayer, bool)

Callers 5

AddDecodingLayerMethod · 0.65
NewDecodingLayerParserFunction · 0.65

Calls

no outgoing calls

Tested by 3