integer-encoding-rs icon indicating copy to clipboard operation
integer-encoding-rs copied to clipboard

Decoding doesn't always return `None` when it should.

Open JayWhite2357 opened this issue 1 year ago • 0 comments

[0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x02] is the encoding of u64::MAX. This does not return None when decoding even though it should.

I have implemented a fix here: #36.

JayWhite2357 avatar Jan 26 '24 16:01 JayWhite2357