Crate bendy[−][src]
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
decoder |
Decodes a bencoded struct |
encoder |
An encoder for bencode. Guarantees that the output string is valid bencode |
Enums
Error |
An encoding or decoding error |