base91-2.1.0: A Generic Base91 Encoder & Decoder

Safe HaskellNone
LanguageHaskell98

Codec.Binary.Base91

Description

A Generic Base91 Encoder & Decoder

Synopsis

Documentation

alphabet :: [Char] Source

The list of valid characters within a Base91-encoded string.

decode :: forall i o. (Input i Char, Output o Word8) => i -> o Source

Decodes a Word8 output sequence from a Char input sequence in Base91 form; the opposite of encode.

encode :: forall i o. (Input i Word8, Output o Char) => i -> o Source

Encodes a Word8 input sequence to a Char output sequence in Base91 form; the opposite of decode.

type Input i e = (MonoFoldable i, Element i ~ e) Source

An input sequence i containing elements of type e.

type Output o e = (MonoPointed o, Element o ~ e, Monoid o) Source

An output sequence o containing elements of type e.