Hacker News new | ask | show | jobs
by piyushgupta53 367 days ago
thanks for pointing this out. I've added this in my to-dos.
1 comments

You might look into (if you only care about reading it) writing the bencode decoder using Kaitai Struct [0] to avoid some of the common pitfalls.

[0]: kaitai.io