Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
285
func
EncodeIP(a netip.Addr) scode.Bytes {
286
return
AppendIP(nil, a)
287
}
288
289
func
DecodeIP(zv scode.Bytes) netip.Addr {
290
var
a netip.Addr
Callers
5
Serialize
Method · 0.92
encodeAny
Method · 0.92
BuildPrimitive
Function · 0.92
GenValue
Function · 0.92
NewIP
Function · 0.85
Calls
1
AppendIP
Function · 0.85
Tested by
no test coverage detected