Slice bytes rather than index.
Slice bytes rather than index.

Indexing bytes on Python 3 produces an integer (as passed to ord on line 57). Slicing produces a bytes object which is what we want.

The other slicing changes are only to normalise whether implicit 0 is present or not and doesn't change anything.

RazerM/1pass,RazerM/1pass