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

TypeAlias DecodingLayerArray

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

DecodingLayerArray is an array-based implementation of DecodingLayerContainer. Each DecodingLayer is searched linearly in an allocated slice in one-by-one fashion.

Source from the content-addressed store, hash-verified

110// DecodingLayerContainer. Each DecodingLayer is searched linearly in
111// an allocated slice in one-by-one fashion.
112type DecodingLayerArray []decodingLayerElem
113
114// Put implements DecodingLayerContainer interface.
115func (dl DecodingLayerArray) Put(d DecodingLayer) DecodingLayerContainer {

Calls

no outgoing calls

Tested by

no test coverage detected