base16: RFC 4648-compliant Base16 encodings/decodings

[ bsd3, data, library ] [ Propose Tags ]

RFC 4648-compliant Base16 encodings and decodings. This library provides performant encoding and decoding primitives, as well as support for textual values.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS], 0.1.1, 0.1.2,,,,,,,,,,,, 1.0
Change log
Dependencies base (>=4.10 && <5), bytestring (>=0.10 && <0.11), text (>=1.2 && <1.3) [details]
License BSD-3-Clause
Copyright (c) 2020 Emily Pillmore
Author Emily Pillmore
Category Data
Home page
Bug tracker
Source repo head: git clone
Uploaded by topos at 2020-02-18T04:23:49Z
Distributions LTSHaskell:, NixOS:, Stackage:1.0
Reverse Dependencies 8 direct, 24 indirect [details]
Downloads 8494 total (143 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-02-18 [all 1 reports]

Readme for base16-

[back to package description]


Build Status Hackage

Padded and unpadded base16 and base16hex encoding and decoding for Text and ByteString values.

For the companion optics and pattern synonyms, see base16-lens.


What does this library provide? Here is the summary:

  • Great encoding performance compared to existing libraries (e.g. memory, base16-bytestring)
  • Better decoding performance compared to existing libraries.
  • Support for Text encodings and decodings
  • Optics for handling more complex structures with Base16 representations via the base16-lens package
  • Checks for both valid Base16 and correct Base16 and Base16hex encodings

There are no dependencies aside from those bundled with GHC.