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

Method GoString

layers/icmp6.go:158–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156}
157
158func (a ICMPv6TypeCode) GoString() string {
159 t := reflect.TypeOf(a)
160 return fmt.Sprintf("%s(%d, %d)", t.String(), a.Type(), a.Code())
161}
162
163// SerializeTo writes the ICMPv6TypeCode value to the 'bytes' buffer.
164func (a ICMPv6TypeCode) SerializeTo(bytes []byte) {

Callers

nothing calls this directly

Calls 3

TypeMethod · 0.95
CodeMethod · 0.95
StringMethod · 0.65

Tested by

no test coverage detected