func (ip ip6) Encode(b *dns.Wirebuf) {
	b16 := net.IP(ip).To16()
	if asserts {
		if b16 == nil {
			panic(fmt.Errorf("%s is not an IPv6 address", ip))
		}
	}
	b.Buf = append(b.Buf, b16...)
}
// Implementation of dns.Wirer
Implementation of dns.Wirer
// Implementation of dns . Wirer
func (ip ip6) Encode(b *dns.Wirebuf) {
	b16 := net.IP(ip).To16()
	if asserts {
		if b16 == nil {
			panic(fmt.Errorf("%s is not an IPv6 address", ip))
		}
	}
	b.Buf = append(b.Buf, b16...)
}
func ( ip ip6 ) Encode ( b * dns . Wirebuf ) { b16 := net . IP ( ip ) . To16 ( ) if asserts { if b16 == nil { panic ( fmt . Errorf ( " " , ip ) ) } } b . Buf = append ( b . Buf , b16 ... ) }
Implementation of dns.Wirer
Implementation of dns . Wirer