-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A Base91 encoder & decoder -- -- An implementation of Base91 encoding & decoding of arbitrary bytes -- (octets) to/from characters (all in the ASCII printable range; it -- includes support for plain Strings, as well as optional support for -- ByteString and/or Text; see the Flags section for details. @package base91 @version 0.1.1 module Codec.Binary.Base91 -- | The list of valid characters within a Base91-encoded string. alphabet :: [Char] decodeBy :: LeftFold (Int, Int, Int, o) Char s -> (o -> [Word8] -> o) -> o -> s -> o encodeBy :: LeftFold (Int, Int, o) Word8 s -> (o -> [Char] -> o) -> o -> s -> o module Codec.Binary.Base91.String -- | Decodes octets ('[Word8]') from a String in Base91; the -- opposite of encode. decode :: String -> [Word8] -- | Encodes octets ('[Word8]') to a String in Base91; the opposite -- of decode. encode :: [Word8] -> String module Codec.Binary.Base91.ByteString -- | Decodes octets (ByteString) from a '[Char]' in Base91; the -- opposite of encode. decode :: [Char] -> ByteString -- | Encodes octets (ByteString) to a '[Char]' in Base91; the -- opposite of decode. encode :: ByteString -> [Char] module Codec.Binary.Base91.Text -- | Decodes octets ('[Word8]') from Text in Base91; the opposite -- of encode. decode :: Text -> [Word8] -- | Encodes octets ('[Word8]') to Text in Base91; the opposite of -- decode. encode :: [Word8] -> Text module Codec.Binary.Base91.Efficient -- | Decodes octets (ByteString) from Text in Base91; the -- opposite of encode. decode :: Text -> ByteString -- | Encodes octets (ByteString) to Text in Base91; the -- opposite of decode. encode :: ByteString -> Text