Lines Matching refs:decode
213 # decode/encode were introduced in Net::DNS 0.68
216 my $decode = 0;
217 $decode = 1 if ($Net::DNS::VERSION >= 0.68);
219 if ($decode) {
220 ($header, $offset) = Net::DNS::Header->decode(\$data);
226 if ($decode) {
228 Net::DNS::Question->decode(\$data, $offset);
235 if ($decode) {
236 ($q, $offset) = Net::DNS::RR->decode(\$data, $offset);
242 if ($decode) {
243 ($q, $offset) = Net::DNS::RR->decode(\$data, $offset);
249 if ($decode) {
250 ($q, $offset) = Net::DNS::RR->decode(\$data, $offset);