We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relates to: #14 (comment)
@da2ce7 asked why we tolerate line breaks in bencoded data.
I think I only added it to tolerate the line break at the end of the bencode value because it makes it more flexible to run the application like this:
echo "4:spam" | cargo run
If we don't tolerate line breaks, you only can use this:
printf "4:spam" | cargo run
I don't like it. Maybe we should "clean" the input stream only in the main app (when we are reading from stdinput).
cc @da2ce7
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Relates to: #14 (comment)
@da2ce7 asked why we tolerate line breaks in bencoded data.
I think I only added it to tolerate the line break at the end of the bencode value because it makes it more flexible to run the application like this:
echo "4:spam" | cargo run
If we don't tolerate line breaks, you only can use this:
printf "4:spam" | cargo run
I don't like it. Maybe we should "clean" the input stream only in the main app (when we are reading from stdinput).
cc @da2ce7
The text was updated successfully, but these errors were encountered: