base32-bytestring-0.1.0.0: Fast base32 and base32hex codec for ByteStrings

Portabilityportable
Stabilitystable
Maintainerpxqr.sta@gmail.com
Safe HaskellNone

Data.ByteString.Base32

Description

Efficient encoding and decoding of base32 encoded bytestring according to RFC 4648. http://tools.ietf.org/html/rfc4648

This module recommended to be imported as import Data.ByteString.Base32 as Base32 to avoid name clashes with Data.Binary or Data.ByteString.Base64 modules.

Synopsis

Documentation

type Base32 = BS.ByteStringSource

Base32 encoded bytestring.

encode :: BS.ByteString -> Base32Source

Encode a bytestring into base32 form.

decode :: Base32 -> BS.ByteStringSource

Decode a base32 encoded bytestring.