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

Method Data

packet.go:97–97  ·  view source on GitHub ↗

Functions for accessing data specific to the packet: ------------------------------------------------------------------ Data returns the set of bytes that make up this entire packet.

()

Source from the content-addressed store, hash-verified

95 //// ------------------------------------------------------------------
96 // Data returns the set of bytes that make up this entire packet.
97 Data() []byte
98 // Metadata returns packet metadata associated with this packet.
99 Metadata() *PacketMetadata
100}

Callers 4

RunFunction · 0.65
benchmarkPacketDecodeFunction · 0.65
Example_captureEthernetFunction · 0.65
mainFunction · 0.65

Calls

no outgoing calls

Tested by 1

Example_captureEthernetFunction · 0.52