This repository has been archived by the owner on Aug 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 99
(De)serialize 128 bit integers #77
Labels
Comments
AFAIK neither the CBOR RFC 7049 nor an extension in CBOR supports 128 bit numbers. (big decimals are supported by the standard but not by this crate) If you need 128 bit integers I suggest to serialize them as a slice. |
Oh, didn't know that, started working on PR, never mind |
Is this a crash or does serde_cbor return an error? |
cbor returns an error |
related: #145 |
MsgPack stores u128/i128 as a byte array. I think it would be a simple fix for serde_cbor to do the same? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The program crashes when trying to serialize them, complaining i/u128 is not supported
Serde itself already has support for that
The text was updated successfully, but these errors were encountered: