The bencoding package

[Tags: bsd3, library]

A library for fast and easy encoding and decoding of BEncode data.


[Skip to ReadMe]

Properties

Versions0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.4.0.2, 0.4.1.0, 0.4.2.0, 0.4.2.1, 0.4.3.0 (info)
Change logChangeLog
Dependenciesattoparsec (>=0.10), base (==4.*), bytestring (>=0.10.0.2), deepseq (==1.3.*), ghc-prim, mtl, pretty, text (>=0.11) [details]
LicenseBSD3
Copyright(c) 2013, Sam Truzjan
AuthorSam Truzjan
MaintainerSam Truzjan <pxqr.sta@gmail.com>
StabilityExperimental
CategoryData
Home pagehttps://github.com/cobit/bencoding
Bug trackerhttps://github.com/cobit/bencoding/issues
Source repositoryhead: git clone git://github.com/cobit/bencoding.git -b master
this: git clone git://github.com/cobit/bencoding.git -b master(tag v0.4.1.0)
UploadedSun Dec 8 00:28:38 UTC 2013 by SamTruzjan
DistributionsNixOS:0.4.3.0
Downloads2402 total (107 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for bencoding-0.4.1.0

Synopsis

BEncode is JSON-like format used in bittorrent protocol but might be used anywhere else.

Description

This package implements fast seamless encoding/decoding to/from bencode format for many native datatypes. To achive more performance we use bytestring builders and hand optimized attoparsec parser so this library is considered as replacement for BEncode and AttoBencode packages.

Format

Bencode is pretty similar to JSON: it has dictionaries(JSON objects), lists(JSON arrays), strings and integers. However bencode has a few advantages:

Hovewer there are some disadvantages comparing with JSON:

Documentation

For documentation see package hackage page.

Build Status

Build Status

Maintainer pxqr.sta@gmail.com

Feel free to report bugs and suggestions via issue tracker or the mail.