bencoderus 0.1.1

A library for Bencode encoding and decoding.
Documentation
  • Coverage
  • 0%
    0 out of 19 items documented0 out of 4 items with examples
  • Size
  • Source code size: 35.08 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.05 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 20s Average build duration of successful builds.
  • all releases: 20s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • russmack/bencoderus
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • russmack

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