Sha256: b84bc52b504dec447e15211e61425b6e019bcdc7b0db1d43f3193e2bc6d0fc80

Contents?: true

Size: 719 Bytes

Versions: 2

Compression:

Stored size: 719 Bytes

Contents

Ruby bencode binding
====================

This is a simple library for reading and writing bencoded data.


What is bencode?
----------------

Bencode is a simple data serialization format used by the popular 
[BitTorrent](http://bittorrent.org/) P2P file sharing system.

It contains only four data types, namely:

- byte strings
- integers
- lists
- dictionaries


Examples
--------

    "foo bar".bencode                   # => "7:foo bar"
    42.bencode                          # => "i42e"
    [1, 2, 3].bencode                   # => "li1ei2ei3ee"
    {"foo" => 1, "bar" => -10}.bencode  # => "d3:bari-10e3:fooi1ee"


License
-------

Released under the MIT license.


Contributors
------------

- Mike Hodgson

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
dasch-bencode-0.5.0 README.md
bencode-0.5.1 README.md