msgpack-javascript icon indicating copy to clipboard operation
msgpack-javascript copied to clipboard

Encoder Reuse Bug?

Open turnerEP opened this issue 3 years ago • 0 comments
trafficstars

Hello! I have an issue with reusing Encoder instances. For some reason decoding fails in some cases. ("Extra 224 of 233 byte(s)", "Insufficient data") The bug does not happen when just using the default encode function. I am able to reproduce the problem with this script: https://gist.github.com/turnerEP/852147711da016ebb22296f75dbf7360 I am kinda confident that this is not expected behavior.

Cheers!

turnerEP avatar May 20 '22 14:05 turnerEP