A Julia library for bencode
Julia
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.travis.yml
LICENSE
README.md
REQUIRE

README.md

BEncode.jl

Build Status

A Julia library for BEncode.

using BEncode

bencode({"Dict" => [1, "two"]})
# "d4:Dictli1e3:twoee"

bdecode("d4:Dictli1e3:twoee")
# Dict{Any,Any} with 1 entry:
#  "Dict" => Union(Array{T,N},Int64,String,Dict{K,V})[1,"two"]