Closed anpez closed 2 months ago
gin use github.com/ugorji/go/codec
as msgpack encoder, can you help to test whether its behavior is consistent with github.com/vmihailenco/msgpack/v5
?
gin use
github.com/ugorji/go/codec
as msgpack encoder, can you help to test whether its behavior is consistent withgithub.com/vmihailenco/msgpack/v5
?
I've been reading through ugorji/go and it looks like it's not a bug, but a feature. A long explaning issue is on their github here. So I guess that's it for gin then. Thanks anyway for your time
Description
Native msgpack encodes unsigned integers using
positive_fixint
instead of the correctuintXX
. Encoding with the external vmihailenco/msgpack gives the correct encoding.How to reproduce
Expectations
Actual result
Environment