Replies: 1 comment 2 replies
-
Have you tried 1000000000000000000n? This is the JavaScript literal for a 64-bit (or more) integer. (1000000000000000000 is a float in JS.) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone,
I'm currently working with MessagePack, and I need to encode large integers as uint64. However, I don't expect to deal with floats in my use case—I'm specifically working with integers only.
For instance, I tried packing the number 1000000000000000000 as a sum, and from what I understand, the result should be something like CF0DE0B6B3A7640000.
Could someone confirm whether the CF type in MessagePack corresponds to uint64, or if there's something I'm missing here?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions