Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 575 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 575 Bytes

Bencoderus

Rust library for encoding and decoding the Bencode coding.

Build Status

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