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
Great library @kawanet. I have noticed that uint32 support is limited (up to 2147483647) and int64/uint64 is not supported at all. I have prepared a patch which removes uint32 limit and adds int64/uint64 support (up to 2^53). Unfortunately, it can slow down the performance because float detection is replaced with Math.floor() function. Can you at least verify if the approach is proper?
+1 for this (or similar) change. I discovered that hard way that I have to manually examine a js number and either send it to msgpack as a Uint64 or Int64 object from another library! This is the only way I can get cross-platform compatibility as other implementations treat negative numbers > 32 bits as uint64 whereas msgpack-lite treats it as an int64.
Hello,
Great library @kawanet. I have noticed that uint32 support is limited (up to 2147483647) and int64/uint64 is not supported at all. I have prepared a patch which removes uint32 limit and adds int64/uint64 support (up to 2^53). Unfortunately, it can slow down the performance because float detection is replaced with Math.floor() function. Can you at least verify if the approach is proper?
Thanks,
PM
uint32-int64-uint64-support-added.txt
The text was updated successfully, but these errors were encountered: