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

Method GoString

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

GoString implements fmt.GoStringer.

()

Source from the content-addressed store, hash-verified

49
50// GoString implements fmt.GoStringer.
51func (p Payload) GoString() string { return LongBytesGoString([]byte(p)) }
52
53// CanDecode implements DecodingLayer.
54func (p Payload) CanDecode() LayerClass { return LayerTypePayload }

Callers 15

layerGoStringFunction · 0.45
pcapSetTstampPrecisionFunction · 0.45
statusErrorFunction · 0.45
pcapOpenLiveFunction · 0.45
openOfflineFunction · 0.45
pcapGeterrMethod · 0.45
pcapLookupnetFunction · 0.45
pcapDatalinkValToNameFunction · 0.45
pcapLibVersionFunction · 0.45
nameMethod · 0.45
descriptionMethod · 0.45

Calls 1

LongBytesGoStringFunction · 0.85

Tested by

no test coverage detected