Permalink
Browse files

Merge pull request #3 from loisch/master

Fix for off-by-one error in handling of upper-case input (issue #2)
  • Loading branch information...
2 parents 6e62610 + 2dde05a commit 17280310db6f0c3a212a4e9b23033aba59451ad2 @bos committed Nov 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Data/ByteString/Base16.hs
View
2 Data/ByteString/Base16.hs
@@ -122,7 +122,7 @@ decode (PS sfp soff slen) =
\\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\xff\xff\xff\xff\xff\xff\
- \\x0a\x0b\x0c\x0d\x0e\x0f\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
+ \\xff\x0a\x0b\x0c\x0d\x0e\x0f\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\\xff\x0a\x0b\x0c\x0d\x0e\x0f\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\

0 comments on commit 1728031

Please sign in to comment.