Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

PROJECT

USAGE

To use the Bencode!PARSER you need to include the bdecoder.hpp into your project

SPECIFICATION

EXAMPLES

The string "d3:bar4:spam3:fooi42ee"

std::string src("d3:bar4:spam3:fooi42ee");
BencodeNode root
(
    BDecoder(src).decode()
);

will be encoded to a Json-like based bEncode structure

{ "bar" : "spam", "foo" : 42 }

CHANGELOG

Bencode!PARSER 1.1, updated @ 2016-03-22

  • Add the function encode() bEncodes a BencodeNode

Bencode!PARSER 1.0, updated @ 2016-03-02

  • Add the function toString() prints Json-like bEncoded nodes

Bencode!PARSER 1.0, updated @ 2016-03-01

  • Initial Release

About

Bencode!PARSER encodes and decodes bencoded strings to a Json-like based bEncode structure and vice versa

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages