net/netip.Addr.AsSlice (method)
6 uses
net/netip (current package)
netip.go#L695: func (ip Addr) AsSlice() []byte {
net
addrselect.go#L347: aAsSlice := a.AsSlice()
cgo_unix.go#L237: sa, salen := cgoSockaddr(IP(ip.AsSlice()), ip.Zone())
lookup.go#L300: 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(),
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |