TokTok / hs-msgpack-binary

Haskell implementation of MessagePack / msgpack.org
http://msgpack.org/
Other
16 stars 10 forks source link

putInt not decodable by getInt #95

Open zorc1985 opened 1 year ago

zorc1985 commented 1 year ago

Why is there a magic transformation of Ints to Words in putInt: https://github.com/TokTok/hs-msgpack-binary/blob/master/src/Data/MessagePack/Put.hs#L75

This is not according to spec and means data serialized with putInt can't be deserialized with getInt.