base16: RFC 4648-compliant Base16 encodings/decodings

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1, 0.1.2, 0.1.2.1, 0.1.3.0, 0.2.0.0, 0.2.0.1, 0.2.1.0, 0.3.0.0, 0.3.0.1, 0.3.0.2, 0.3.1.0, 0.3.2.0, 0.3.2.1, 1.0
Change log CHANGELOG.md
Dependencies base (>=4.10 && <5), bytestring (>=0.10 && <0.11), text (>=1.2 && <1.3) [details]
Tested with ghc ==8.2.2 || ==8.4.3 || ==8.4.4 || ==8.6.3 || ==8.6.5 || ==8.8.1
License BSD-3-Clause
Copyright (c) 2020 Emily Pillmore
Author Emily Pillmore
Maintainer emilypi@cohomolo.gy
Category Data
Home page https://github.com/emilypi/base16
Bug tracker https://github.com/emilypi/base16/issues
Source repo head: git clone https://github.com/emilypi/base16.git
Uploaded by topos at 2020-02-17T23:16:56Z
Distributions LTSHaskell:1.0, NixOS:1.0, Stackage:1.0
Reverse Dependencies 11 direct, 26 indirect [details]
Downloads 9766 total (89 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-0.1.2

[back to package description]

Base16

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.

Summary

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.