top | item 7976705

(no title)

mac1175 | 11 years ago

Why not good ol' De Morgan's laws?

return !(raw[2]&(QR|AA|TC) == 0 && raw[3]&(Z|RCODE) == 0 )

discuss

order

rpsw|11 years ago

The code probably goes on to to do additional checks.