A public officer or employee who knowingly and wilfully omits, refuses or neglects to perform any act required of him by this chapter or who knowingly and wilfully refuses to permit the doing of any act authorized by this chapter or who knowingly and wilfully hinders or delays or attempts to hinder or delay the performance of such an act is, if not otherwise provided by law, guilty of a felony.