Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Faulty handling of uppercase input #2

Open
niklasb opened this Issue Oct 22, 2012 · 1 comment

Comments

Projects
None yet
2 participants

niklasb commented Oct 22, 2012

*Prelude Base16> Base16.encode . fst . Base16.decode $ BSC.pack "AA"
"bb"
*Prelude Base16> Base16.decode $ BSC.pack "FF"
("","FF")

There seems to be an off-by-one error in the decoding table.

loisch added a commit to loisch/base16-bytestring that referenced this issue Nov 3, 2012

bos added a commit that referenced this issue Nov 20, 2012

Merge pull request #3 from loisch/master
Fix for off-by-one error in handling of upper-case input (issue #2)

Please push to hackage version with correct uppercase support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment