func (rd *KX) Encode(b *dns.Wirebuf) {
	b.DisableCompression()
	defer b.EnableCompression()

	dns.Octets2(rd.Preference).Encode(b)
	dns.DomainName(rd.Exchanger).Encode(b)
}
// Implementation of dns.Wirer
Implementation of dns.Wirer
// Implementation of dns . Wirer
func (rd *KX) Encode(b *dns.Wirebuf) {
	b.DisableCompression()
	defer b.EnableCompression()
	dns.Octets2(rd.Preference).Encode(b)
	dns.DomainName(rd.Exchanger).Encode(b)
}
func ( rd * KX ) Encode ( b * dns . Wirebuf ) { b . DisableCompression ( ) defer b . EnableCompression ( ) dns . Octets2 ( rd . Preference ) . Encode ( b ) dns . DomainName ( rd . Exchanger ) . Encode ( b ) }
Implementation of dns.Wirer
Implementation of dns . Wirer