func (rd *OPT_DATA) Encode(b *dns.Wirebuf) {
	dns.Octets2(rd.Code).Encode(b)
	dns.Octets2(len(rd.Data)).Encode(b)
	b.Buf = append(b.Buf, rd.Data...)
}
// Implementation of dns.Wirer
Implementation of dns.Wirer
// Implementation of dns . Wirer
func (rd *OPT_DATA) Encode(b *dns.Wirebuf) {
	dns.Octets2(rd.Code).Encode(b)
	dns.Octets2(len(rd.Data)).Encode(b)
	b.Buf = append(b.Buf, rd.Data...)
}
func ( rd * OPT_DATA ) Encode ( b * dns . Wirebuf ) { dns . Octets2 ( rd . Code ) . Encode ( b ) dns . Octets2 ( len ( rd . Data ) ) . Encode ( b ) b . Buf = append ( b . Buf , rd . Data ... ) }
Implementation of dns.Wirer
Implementation of dns . Wirer