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
@gmartsenkov Interesting, thanks for the report. There must be a bug in handling of the sign bit in either read_int64 or write_int64. I'll have a look.
Confirmed that removing this conditional makes that spec pass, and that ensures we read and write them the same way, but doesn't validate that that way is correct. To confirm that, we'll want to test against known valid serializations of some negative integers.
Thanks again for this. I've somehow never run into this issue, which is pretty wild.
No worries, I was pretty bamboozled at first :D I tested it manually and what you suggested seems to fix my specific issue too. Thanks for the quick response!
Encoding negative i64 produces a wrong number, this might as well be the case for i32;
Fails with:
The text was updated successfully, but these errors were encountered: