base16
Fast RFC 4648-compliant Base16 encoding
Base16
RFC 4648-compliant Base16 encoding and decoding.
For the companion optics and pattern synonyms, see base16-lens.
Summary
The following types have supported codecs:
Data.ByteStringData.ByteString.LazyData.ByteString.ShortData.TextData.Text.LazyData.Text.Short
Additionally this library has
- Much better performance than
base16-bytestringfor encode and decode, with a more conventional api. - Support for mixed-case hex decoding (defaults to lower-case encoding by convention)
- Optics for handling more complex structures with Base16 representations via the
base16-lenspackage - Checks for both validity and correctness of Base16 encodings.
There are no dependencies aside from those bundled with GHC.
- base >=4.14 && <4.23
- bytestring >=0.11 && <0.13
- deepseq >=1.4.4.0 && <1.6
- primitive >=0.6 && <0.10
- text >= 2.0 && <2.2
- text-short ^>=0.1
- 1.0
- 0.3.2.1
- 0.3.2.0
- 0.3.1.0
- 0.3.0.2
- 0.3.0.1
- 0.3.0.0
- 0.2.1.0
- 0.2.0.1
- 0.2.0.0
- 0.1.3.0
- 0.1.2.1
- 0.1.2
- 0.1.1
- 0.1.0.0