| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This allows implementations of Serialize to change behavior depending on the encoding method used (e.g. encode as base64 for human readable encodings such as JSON, and encode as binary strings for bencode).
There was a problem hiding this comment.
This PR introduces an implementation of is_human_readable for the bencode Serializer, ensuring it always reports non–human-readable output.
src/ser.rs:216
fn is_human_readable(&self) -> bool {
src/ser.rs:216
fn is_human_readable(&self) -> bool {
Sorry, something went wrong.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This allows implementations of Serialize to change behavior depending on the encoding method used (e.g. encode as base64 for human readable encodings such as JSON, and encode as binary strings for bencode).