dataenc-0.13.0.4: Data encoding library

Codec.Binary.Yenc

Description

Implementation based on the specification found at http://yence.sourceforge.net/docs/protocol/version1_3_draft.html.

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

Synopsis

Documentation

encode :: [Word8] -> [Word8]Source

Encode data.

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

Decode data (strict).

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

Decode data (lazy).

chopSource

Arguments

:: Int

length of individual lines

-> [Word8] 
-> [[Word8]] 

Chop up a string in parts.

unchop :: [[Word8]] -> [Word8]Source

Concatenate the strings into one long string.