dataenc-0.11: Data encoding library

Codec.Binary.Base16

Description

Base16 module.

Implemented as specified in RFC 4648 (http://tools.ietf.org/html/rfc4648).

Synopsis

Documentation

encode :: [Word8] -> StringSource

Encode data.

decode :: String -> Maybe [Word8]Source

Decode data (strict).

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

Decode data (lazy).

chopSource

Arguments

:: Int

length of individual lines

-> String 
-> [String] 

Chop up a string in parts.

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

unchop :: [String] -> StringSource

Concatenate the strings into one long string.