Closed casey closed 4 years ago
Optionally, the deserializer can be configured to throw an error if trailing bytes remain after deserialization.
I'm writing a tool to verify a huge archive of torrents, and I want to be able to be strict about trailing data not following a valid bencoded dict.
I'm really sorry that I missed seeing this earlier! In the future, if I leave a PR open like this without anybody commenting, feel free to @ me.
No worries, thanks for merging!
Optionally, the deserializer can be configured to throw an error if trailing bytes remain after deserialization.
I'm writing a tool to verify a huge archive of torrents, and I want to be able to be strict about trailing data not following a valid bencoded dict.