Skip to content

russmack/bencoderus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages