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