// Implementation of dns.Wirer
Implementation of dns.Wirer
// Implementation of dns . Wirer
func (rd *EXT_RCODE) Decode(b []byte, pos *int, sniffer dns.WireDecodeSniffer) (err error) {
	p0 := &b[*pos]
	var n dns.Octets4
	if err = n.Decode(b, pos, sniffer); err != nil {
		return
	}
	rd.FromTTL(int32(n))
	if sniffer != nil {
		sniffer(p0, &b[*pos-1], dns.SniffEXT_RCODE, rd)
	}
	return
}
func ( rd * EXT_RCODE ) Decode ( b [ ] byte , pos * int , sniffer dns . WireDecodeSniffer ) ( err error ) { p0 := & b [ * pos ] var n dns . Octets4 if err = n . Decode ( b , pos , sniffer ) ; err != nil { return } rd . FromTTL ( int32 ( n ) ) if sniffer != nil { sniffer ( p0 , & b [ * pos - 1 ] , dns . SniffEXT_RCODE , rd ) } return }
Implementation of dns.Wirer
Implementation of dns . Wirer