// Implementation of dns.Wirer
Implementation of dns.Wirer
// Implementation of dns . Wirer
func (rd *DS) Encode(b *dns.Wirebuf) {
	dns.Octets2(rd.KeyTag).Encode(b)
	dns.Octet(rd.Algorithm).Encode(b)
	dns.Octet(rd.DigestType).Encode(b)
	b.Buf = append(b.Buf, rd.Digest...)
}
func ( rd * DS ) Encode ( b * dns . Wirebuf ) { dns . Octets2 ( rd . KeyTag ) . Encode ( b ) dns . Octet ( rd . Algorithm ) . Encode ( b ) dns . Octet ( rd . DigestType ) . Encode ( b ) b . Buf = append ( b . Buf , rd . Digest ... ) }
Implementation of dns.Wirer
Implementation of dns . Wirer