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

Function EncodeIP

primitive.go:285–287  ·  view source on GitHub ↗
(a netip.Addr)

Source from the content-addressed store, hash-verified

283}
284
285func EncodeIP(a netip.Addr) scode.Bytes {
286 return AppendIP(nil, a)
287}
288
289func DecodeIP(zv scode.Bytes) netip.Addr {
290 var a netip.Addr

Callers 5

SerializeMethod · 0.92
encodeAnyMethod · 0.92
BuildPrimitiveFunction · 0.92
GenValueFunction · 0.92
NewIPFunction · 0.85

Calls 1

AppendIPFunction · 0.85

Tested by

no test coverage detected