Open weijian-zhu opened 2 years ago
This is not a problem with the library, the number you're trying to represent is larger than the largest integer that JS can represent
It would be amazing if this library could support BigInts
ok,thanks you
@weijian-zhu would you like to send a PR to introduce support for BigInt perhaps?
That sounds cool, but I still don't know enough about it to know where to start
You may want to check out how the Date codec is implemented, but I think the implementation for BigInt should be much simpler than that https://github.com/mcollina/msgpack5/blob/master/lib/codecs/DateCodec.js