func (rd *URI) Encode(b *dns.Wirebuf) {
	dns.Octets2(rd.Priority).Encode(b)
	dns.Octets2(rd.Weight).Encode(b)
	for _, s := range rd.Target {
		dns.CharString(s).Encode(b)
	}
}
// Implementation of dns.Wirer
Implementation of dns.Wirer
// Implementation of dns . Wirer
func (rd *URI) Encode(b *dns.Wirebuf) {
	dns.Octets2(rd.Priority).Encode(b)
	dns.Octets2(rd.Weight).Encode(b)
	for _, s := range rd.Target {
		dns.CharString(s).Encode(b)
	}
}
func ( rd * URI ) Encode ( b * dns . Wirebuf ) { dns . Octets2 ( rd . Priority ) . Encode ( b ) dns . Octets2 ( rd . Weight ) . Encode ( b ) for _ , s := range rd . Target { dns . CharString ( s ) . Encode ( b ) } }
Implementation of dns.Wirer
Implementation of dns . Wirer