You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its been a while but I've rewritten the encoder and decoder.
Your 'weird' test data now roundtrips.
The encoder will change/rewritten again in the future because I'm not satisfied about how it handles the input and output.
Hello.
I've found an example of data, when encode-decode round trip does not give the identical result. It consists of four bytes:
0x00, 0x00, 0x80, 0x40
.The patch to add this test case is:
The test program then produces this result:
It was possible to fix this with the following change:
But I am not completely sure if this is a correct approach.
The text was updated successfully, but these errors were encountered: