bencodex: Bencodex reader/writer for Haskell

[ gpl, library, serialization ] [ Propose Tags ]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0
Change log CHANGES.md
Dependencies attoparsec (>=0.12 && <1), base (>=4.7 && <5), bytestring, hashable, text, unordered-containers [details]
License GPL-3.0-or-later
Copyright © 2018 Hong Minhee
Author Hong Minhee <hong.minhee@gmail.com>
Maintainer Hong Minhee <hong.minhee@gmail.com>
Category Serialization
Home page https://github.com/dahlia/bencodex-haskell#readme
Bug tracker https://github.com/dahlia/bencodex-haskell/issues
Source repo head: git clone https://github.com/dahlia/bencodex-haskell
Uploaded by hongminhee at 2018-11-05T22:08:53Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 546 total (3 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-11-05 [all 1 reports]

Readme for bencodex-1.0.0

[back to package description]

Bencodex reader/writer for Haskell

Build Status

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.