Codec.Binary.DataEncoding

dataenc-0.14.0.7: Data encoding library

Copyright | (c) 2007 Magnus Therning
License | BSD3
Safe Haskell | Safe
Language | Haskell98

Codec.Binary.DataEncoding

Description

This module exposes several instances of `DataCodec`, one for each data encoding implemented in the library without causing the name clashing that would result from importing the individual encoding modules.

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

Synopsis

- data DataCodec
- base16 :: DataCodec
- base32 :: DataCodec
- base32Hex :: DataCodec
- base64 :: DataCodec
- base64Url :: DataCodec
- base85 :: DataCodec
- chop :: DataCodec -> Int -> String -> [String]
- decode :: DataCodec -> String -> Maybe [Word8]
- encode :: DataCodec -> [Word8] -> String
- py :: DataCodec
- qp :: DataCodec
- unchop :: DataCodec -> [String] -> String
- url :: DataCodec
- uu :: DataCodec
- xx :: DataCodec

# Documentation

data DataCodec #

Used to group a specific data encoding's functions.

base16 :: DataCodec #

Base16 encoding, see Codec.Binary.Base16 for more details on the individual functions.

base32 :: DataCodec #

Base32 encoding, see Codec.Binary.Base32 for more details on the individual functions.

base32Hex :: DataCodec #

Base32Hex encoding, see Codec.Binary.Base32Hex for more details on the individual functions.

base64 :: DataCodec #

Base64 encoding, see Codec.Binary.Base64 for more details on the individual functions.

base64Url :: DataCodec #

Base64Url encoding, see Codec.Binary.Base64Url for more details on the individual functions.

base85 :: DataCodec #

Base85 encoding, see Codec.Binary.Base85 for more details on the individual functions.

chop :: DataCodec -> Int -> String -> [String] #

decode :: DataCodec -> String -> Maybe [Word8] #

encode :: DataCodec -> [Word8] -> String #

py :: DataCodec #

Quoted-printable, see Codec.Binary.PythonString for more details on the individual functions.

qp :: DataCodec #

Quoted-printable, see Codec.Binary.QuotedPrintable for more details on the individual functions.

unchop :: DataCodec -> [String] -> String #

url :: DataCodec #

URL encoding, see Codec.Binary.Url for more details on the individual functions.

uu :: DataCodec #

Uuencoding, see Codec.Binary.Uu for more details on the individual functions.

xx :: DataCodec #

Xxencoding, see Codec.Binary.Xx for more details on the individual functions.