Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decoding is broken for some integer #4

Open
luc-bigsool opened this issue Nov 17, 2022 · 0 comments
Open

decoding is broken for some integer #4

luc-bigsool opened this issue Nov 17, 2022 · 0 comments

Comments

@luc-bigsool
Copy link

Decoding the '-4300' value returns 239 !

var data = msgpack.encode({"v":-4300});
console.log(msgpack.decode(data)); // => { v: 239 }

Can you please have a look since your library is the only one able to decode bigints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant