Off-by-1 error on INTEGER values made entirely of 00s or FFs.

Closes #8 on GitHub.