bencoderus

Crates.iobencoderus
lib.rsbencoderus
version0.1.1
sourcesrc
created_at2017-02-21 19:09:13.946023
updated_at2017-03-07 19:25:29.536874
descriptionA library for Bencode encoding and decoding.
homepagehttps://github.com/russmack/bencoderus
repositoryhttps://github.com/russmack/bencoderus
max_upload_size
id8622
size28,573
russ (russmack)

documentation

https://github.com/russmack/bencoderus

README

Bencoderus

Rust library for encoding and decoding the Bencode coding.

Usage

Decode:

// decode transforms Bencoded bytes to objects.
pub fn decode(src: Vec<u8>) -> Bencoding {

Encode:

// encode transforms objects to Bencoded bytes.
pub fn encode(benc: Bencoding) -> Vec<u8> {

License

BSD 3-Clause: LICENSE.txt

LICENSE

Commit count: 16

cargo fmt