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


Keywords
data, library, Propose Tags, Skip to Readme, , Index, Quick Jump, Data.ByteString.Base32, Data.ByteString.Base32.Hex, Data.ByteString.Base32.Internal, Data.ByteString.Lazy.Base32, Data.ByteString.Lazy.Base32.Hex, Data.ByteString.Short.Base32, Data.ByteString.Short.Base32.Hex, Data.Text.Encoding.Base32, Data.Text.Encoding.Base32.Error, Data.Text.Encoding.Base32.Hex, Data.Text.Lazy.Encoding.Base32, Data.Text.Lazy.Encoding.Base32.Hex, Data.Text.Short.Encoding.Base32, Data.Text.Short.Encoding.Base32.Hex, base32-0.4.tar.gz, browse, Package description, Package maintainers, topos, edit package information , 0.1.0.0, 0.1.1, 0.1.1.1, 0.2.0.0, 0.2.1.0, 0.3.1.0, base32-lens
License
BSD-3-Clause
Install
cabal install base32-0.4

Documentation

Base32

Build Status Hackage

Padded and unpadded base32 and base32hex encoding and decoding for Text and ByteString values.

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

Summary

The following types are supported for both padded and unpadded std and extended hex alphabets:

  • Data.ByteString
  • Data.ByteString.Lazy
  • Data.ByteString.Short
  • Data.Text
  • Data.Text.Lazy
  • Data.Text.Short

Additionally this library has

  • Better performance than memory for encode and decode 3-4x.
  • Optics for handling more complex structures with Base32 representations via the base32-lens package
  • Checks for both validity and correctness of Base32 and Base32hex encodings

There are no dependencies aside from those bundled with GHC, text-short.