net/netip.Addr.AsSlice (method)
7 uses
net/netip (current package)
netip.go#L723: func (ip Addr) AsSlice() []byte {
net
addrselect.go#L347: aAsSlice := a.AsSlice()
cgo_unix.go#L248: sa, salen := cgoSockaddr(IP(ip.AsSlice()), ip.Zone())
lookup.go#L310: return []IPAddr{{IP: IP(ip.AsSlice()).To16(), Zone: ip.Zone()}}, nil
tcpsock.go#L104: IP: addr.Addr().AsSlice(),
udpsock.go#L107: IP: addr.Addr().AsSlice(),
vendor/golang.org/x/net/http/httpproxy
proxy.go#L184: ip = net.IP(nip.AsSlice())
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |