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

Method LayerContents

base.go:23–23  ·  view source on GitHub ↗

LayerContents returns the set of bytes that make up this layer.

()

Source from the content-addressed store, hash-verified

21 LayerType() LayerType
22 // LayerContents returns the set of bytes that make up this layer.
23 LayerContents() []byte
24 // LayerPayload returns the set of bytes contained within this layer, not
25 // including the layer itself.
26 LayerPayload() []byte

Callers 4

LayerDumpFunction · 0.65
packetStringMethod · 0.65
assembleMethod · 0.65
checkLayersFunction · 0.65

Implementers 2

DecodeFailuredecode.go
LCMlayers/lcm.go

Calls

no outgoing calls

Tested by 1

checkLayersFunction · 0.52