MCPcopy Create free account
hub / github.com/google/nftables / Append

Function Append

userdata/userdata.go:55–60  ·  view source on GitHub ↗
(udata []byte, typ Type, data []byte)

Source from the content-addressed store, hash-verified

53)
54
55func Append(udata []byte, typ Type, data []byte) []byte {
56 udata = append(udata, byte(typ), byte(len(data)))
57 udata = append(udata, data...)
58
59 return udata
60}
61
62func Get(udata []byte, styp Type) []byte {
63 for {

Callers 2

AppendUint32Function · 0.85
AppendStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…