MCPcopy Create free account
hub / github.com/brimdata/super / AppendIP

Function AppendIP

primitive.go:281–283  ·  view source on GitHub ↗
(zb scode.Bytes, a netip.Addr)

Source from the content-addressed store, hash-verified

279type TypeOfIP struct{}
280
281func AppendIP(zb scode.Bytes, a netip.Addr) scode.Bytes {
282 return append(zb, a.AsSlice()...)
283}
284
285func EncodeIP(a netip.Addr) scode.Bytes {
286 return AppendIP(nil, a)

Callers 2

appendPrimitiveMethod · 0.92
EncodeIPFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected