bendy icon indicating copy to clipboard operation
bendy copied to clipboard

Relax the enforced correctness rules when decoding?

Open eugenesimakin opened this issue 4 years ago • 3 comments

Hi folks,

I use Bendy in my project for decoding a bencode and it worked very well for me so far. But data on the Internet is not well-formed in all cases. So, I have some problems parsing bencode data which I'm getting from a server because this data is not well-formed (keys are not sorted). I can't tell the server to give me the response I want, because the server doesn't belong to me.

My question: Is there any way to relax the enforced correctness rules to be able to parse the response?

Thanks, Eugene

eugenesimakin avatar Aug 23 '20 19:08 eugenesimakin