@hackage base161.0
Fast RFC 4648-compliant Base16 encoding
Installation
Tested Compilers
Dependencies (6)
- 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 Show all…
Dependents (37)
@hackage/biscuit-haskell, @hackage/ram, @cardano/marlowe-chain-sync, @cardano/marlowe-object, @hackage/haskoin-core, @hackage/http-client-tls, Show all…
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.