dataenc-0.13.0.1: Data encoding librarySource codeContentsIndex
Codec.Binary.Base85
Description

Implemented as described at http://en.wikipedia.org/wiki/Ascii85.

Further documentation and information can be found at http://www.haskell.org/haskellwiki/Library/Data_encoding.

Synopsis
encode :: [Word8] -> String
decode :: String -> Maybe [Word8]
decode' :: String -> [Maybe Word8]
chop :: Int -> String -> [String]
unchop :: [String] -> String
Documentation
encode :: [Word8] -> StringSource

Encode data.

The result will not be enclosed in <~ ~>.

decode :: String -> Maybe [Word8]Source

Decode data (strict).

The input must not be enclosed in <~ ~>.

decode' :: String -> [Maybe Word8]Source

Decode data (lazy).

The input must not be enclosed in <~ ~>.

chopSource
:: Intlength of individual lines
-> String
-> [String]

Chop up a string in parts.

The length given is rounded down to the nearest multiple of 5.

unchop :: [String] -> StringSource
Concatenate the strings into one long string.
Produced by Haddock version 2.4.2