[][src]Crate bendy

Encodes and decodes bencoded structures.

The decoder is explicitly designed to be zero-copy as much as possible, and to not accept any sort of invalid encoding in any mode (including non-canonical encodings)

The encoder is likewise designed to ensure that it only produces valid structures.

Modules

decoding

Decodes a bencoded struct

encoding

An encoder for bencode. Guarantees that the output string is valid bencode

serde

Serde Serialization and Deserialization

state_tracker
value

Values hold arbitrary borrowed or owneed bencode data. Unlike Objects, they can be cloned and traversed multiple times.