Fast base16 (hexadecimal) encoding and decoding for Haskell bytestrings.
Latest commit 4af07a7 Mar 11, 2014 @bos Merge
Failed to load latest commit information.
Data/ByteString fixed handling of uppercase input; closes issue #2 Nov 3, 2012
benchmarks add a simple decode benchmark. Nov 16, 2011
tests Add some simple tests, mainly targeting the encode and decode tables Jun 6, 2013
.hgignore Add benchmarks Jul 6, 2011
.hgtags Added tag for changeset 3179bf79227d Jan 17, 2014
LICENSE Initial commit. Jan 25, 2011
README.markdown Fix thinko Nov 13, 2011
Setup.hs Initial commit. Jan 25, 2011


Fast base16 support

This package provides a Haskell library for working with base16-encoded data quickly and efficiently, using the ByteString type.


This library is written in pure Haskell, and it's fast:

  • 250 MB/sec encoding

  • 200 MB/sec strict decoding (per RFC 4648)

  • 100 MB/sec lenient decoding

Get involved!

Please report bugs via the github issue tracker.

Master github repository:

  • git clone git://

There's also a Mercurial mirror:

  • hg clone

(You can create and contribute changes using either git or Mercurial.)


This library is written and maintained by Bryan O'Sullivan,