update nextBytes signature in interface