func (rd *SIG) Encode(b *dns.Wirebuf) {
	dns.Octets2(rd.Type).Encode(b)
	dns.Octet(rd.Algorithm).Encode(b)
	dns.Octet(rd.Labels).Encode(b)
	dns.Octets4(rd.TTL).Encode(b)
	dns.Octets4(rd.Expiration).Encode(b)
	dns.Octets4(rd.Inception).Encode(b)
	dns.Octets2(rd.KeyTag).Encode(b)
	b.DisableCompression()
	(*dns.DomainName)(&rd.Name).Encode(b)
	b.EnableCompression()
	b.Buf = append(b.Buf, rd.Signature...)
}
// Implementation of dns.Wirer
Implementation of dns.Wirer
// Implementation of dns . Wirer
func (rd *SIG) Encode(b *dns.Wirebuf) {
	dns.Octets2(rd.Type).Encode(b)
	dns.Octet(rd.Algorithm).Encode(b)
	dns.Octet(rd.Labels).Encode(b)
	dns.Octets4(rd.TTL).Encode(b)
	dns.Octets4(rd.Expiration).Encode(b)
	dns.Octets4(rd.Inception).Encode(b)
	dns.Octets2(rd.KeyTag).Encode(b)
	b.DisableCompression()
	(*dns.DomainName)(&rd.Name).Encode(b)
	b.EnableCompression()
	b.Buf = append(b.Buf, rd.Signature...)
}
func ( rd * SIG ) Encode ( b * dns . Wirebuf ) { dns . Octets2 ( rd . Type ) . Encode ( b ) dns . Octet ( rd . Algorithm ) . Encode ( b ) dns . Octet ( rd . Labels ) . Encode ( b ) dns . Octets4 ( rd . TTL ) . Encode ( b ) dns . Octets4 ( rd . Expiration ) . Encode ( b ) dns . Octets4 ( rd . Inception ) . Encode ( b ) dns . Octets2 ( rd . KeyTag ) . Encode ( b ) b . DisableCompression ( ) ( * dns . DomainName ) ( & rd . Name ) . Encode ( b ) b . EnableCompression ( ) b . Buf = append ( b . Buf , rd . Signature ... ) }
Implementation of dns.Wirer
Implementation of dns . Wirer