Use int division `//` insted of float division `/`.
Make next methods available as __next__.
Check for bytes rather than str.
Use bytes literals instead of string literals.