net/netip.Addr.As16 (method)

7 uses

	net/netip (current package)
		netip.go#L704: func (ip Addr) As16() (a16 [16]byte) {

	net
		addrselect.go#L286: 		ip = netip.AddrFrom16(ip.As16())
		addrselect.go#L313: 	ipv6AsBytes := ip.As16()
		ip.go#L539: 	return ip.As16(), true
		ip.go#L566: 	addr16 := ipAddr.As16()
		ipsock_posix.go#L267: 		Addr:   addr.As16(),

	github.com/jackc/pgx/v5/pgtype
		inet.go#L87: 		b := prefix.Addr().As16()