WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.

WASH.Utility.Base64

Description

Implements RFC 2045 MIME coding.

Synopsis

Documentation

encode :: String -> StringSource

Yields encoded input cropped to lines of less than 76 characters. Directly usable as email body.

encode' :: String -> StringSource

yields continuous stream of bytes.

decode :: String -> StringSource

Directly applicable to email body.

decode' :: String -> StringSource

Only applicable to stream of Base64 characters.

alphabet_list :: StringSource

Base64 alphabet in encoding order.