Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dahlia/bencodex-haskell
Bencodex reader/writer for Haskell
https://github.com/dahlia/bencodex-haskell
bencode bencodex haskell
Last synced: 14 days ago
JSON representation
Bencodex reader/writer for Haskell
- Host: GitHub
- URL: https://github.com/dahlia/bencodex-haskell
- Owner: dahlia
- License: gpl-3.0
- Created: 2018-11-05T20:27:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-05T21:59:42.000Z (about 6 years ago)
- Last Synced: 2024-05-09T18:57:09.782Z (6 months ago)
- Topics: bencode, bencodex, haskell
- Language: Haskell
- Homepage: https://hackage.haskell.org/package/bencodex
- Size: 23.4 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
Bencodex reader/writer for Haskell
==================================[![Build Status][ci-badge]][ci]
This package implements [Bencodex] serialization format which extends
[Bencoding].~~~~ haskell
> :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"
~~~~[ci-badge]: https://travis-ci.com/dahlia/bencodex-haskell.svg?branch=master
[ci]: https://travis-ci.com/dahlia/bencodex-haskell
[Bencodex]: https://github.com/planetarium/bencodex
[Bencoding]: http://www.bittorrent.org/beps/bep_0003.html#bencodingAuthor and license
------------------Written by [Hong Minhee], and distributed under [GPLv3] or later.
[Hong Minhee]: https://hongminhee.org/
[GPLv3]: https://www.gnu.org/licenses/gpl-3.0.html