func (rd *NSEC3PARAM) Encode(b *dns.Wirebuf) {
	dns.Octet(rd.HashAlgorithm).Encode(b)
	dns.Octet(rd.Flags).Encode(b)
	dns.Octets2(rd.Iterations).Encode(b)
	if asserts && len(rd.Salt) > 255 {
		panic("internal error")
	}
	dns.Octet(len(rd.Salt)).Encode(b)
	b.Buf = append(b.Buf, rd.Salt...)
}
// Implementation of dns.Wirer
Implementation of dns.Wirer
// Implementation of dns . Wirer
func (rd *NSEC3PARAM) Encode(b *dns.Wirebuf) {
	dns.Octet(rd.HashAlgorithm).Encode(b)
	dns.Octet(rd.Flags).Encode(b)
	dns.Octets2(rd.Iterations).Encode(b)
	if asserts && len(rd.Salt) > 255 {
		panic("internal error")
	}
	dns.Octet(len(rd.Salt)).Encode(b)
	b.Buf = append(b.Buf, rd.Salt...)
}
func ( rd * NSEC3PARAM ) Encode ( b * dns . Wirebuf ) { dns . Octet ( rd . HashAlgorithm ) . Encode ( b ) dns . Octet ( rd . Flags ) . Encode ( b ) dns . Octets2 ( rd . Iterations ) . Encode ( b ) if asserts && len ( rd . Salt ) > 255 { panic ( " " ) } dns . Octet ( len ( rd . Salt ) ) . Encode ( b ) b . Buf = append ( b . Buf , rd . Salt ... ) }
Implementation of dns.Wirer
Implementation of dns . Wirer