Skip to content

joshuamiller/BEncode.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BEncode.jl

Build Status

A Julia library for BEncode.

using BEncode

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

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