dataenc-0.13.0.5: Data encoding library

Codec.Binary.QuotedPrintable

Description

Implementation of Quoted-Printable based on RFC 2045 (http://tools.ietf.org/html/rfc2045).

This encoding encodes _everything_ that is passed in, it will not try to guess the native line ending for your architecture. In other words, if you are using this to encode text you need to split it into separate lines before encoding and chopping it up.

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

Synopsis

Documentation

encode :: [Word8] -> StringSource

Encode data.

decode :: String -> Maybe [Word8]Source

Decode data (strict).

chopSource

Arguments

:: Int

length of individual lines (values < 4 are ignored)

-> String 
-> [String] 

Chop up a string in parts.

unchop :: [String] -> StringSource

Concatenate the list of strings into one long string.