Description
Bencodex reader/writer for Haskell.
Description
Please see the README on GitHub at https://github.com/dahlia/bencodex-haskell#readme.
README.md
Bencodex reader/writer for Haskell
This package implements Bencodex serialization format which extends Bencoding.
> :set -XOverloadedStrings
> import Data.Bencodex
> let Right bVal = decodeStrict "lntfi123eu7:Unicodeu4:blobe"
> bVal
BList [BNull,BBool True,BBool False,BInteger 123,BText "Unicode",BText "blob"]
> encodeStrict bVal
"lntfi123eu7:Unicodeu4:blobe"
Author and license
Written by Hong Minhee, and distributed under GPLv3 or later.