packages feed

base16-0.2.1.0: README.md

# Base16

[![Build Status](https://travis-ci.com/emilypi/base16.svg?branch=master)](https://travis-ci.com/emilypi/base16)
[![Hackage](https://img.shields.io/hackage/v/base16.svg)](https://hackage.haskell.org/package/base16)

RFC 4648-compliant Base16 encoding and decoding.

For the companion optics and pattern synonyms, see [base16-lens](https://hackage.haskell.org/package/base16-lens).

### Summary

The following types are supported for Hex alphabet codecs:

- `Data.ByteString`
- `Data.ByteString.Lazy`
- `Data.ByteString.Short`
- `Data.Text`
- `Data.Text.Lazy`
- `Data.Text.Short`

Additionally this library has

- Much better performance than `base16-bytestring` for encode and decode, with a more conventional api.
- Optics for handling more complex structures with Base64 representations via the `base16-lens` package
- Checks for both validity and correctness of Base16 encodings.

There are no dependencies aside from those bundled with GHC.