fpco / streaming-commons

Common lower-level functions needed by various streaming data libraries
MIT License
36 stars 41 forks source link

UTF-8 Decoder fails on trailing bytes #71

Closed parsonsmatt closed 2 years ago

parsonsmatt commented 2 years ago

Fixes #70

Credit to @yoricksijsling who implemented the fix.

I verified that the problem exists - if you uncomment the modifyMaxSuccess 100000 bit in the tests, you'll see this blow up.

snoyberg commented 2 years ago

Thanks!