View Source bencode (erl_bencode v0.1.5)
Link to this section Summary
Link to this section Functions
-spec decode(Value) -> {ok, DecodedBencode}
when Value :: list() | atom(), DecodedBencode :: map() | list() | binary().
Value
to a valid erlang term().
-spec encode(Value) -> {ok, BencodeStr} when Value :: map() | list() | binary(), BencodeStr :: list().
Value
to Bencode.