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

Write i128 and u128 as smallest types they can fit into #352

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hpeebles
Copy link

@hpeebles hpeebles commented Aug 21, 2024

Currently i128 and u128 values are always written as 16 bytes, whereas all other int/uint values are encoded as the smallest int/uint type they can fit into.
This PR makes i128 and u128 act the same way.
The decoding already handles this so the change is only needed on the encoding side.

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

Successfully merging this pull request may close these issues.

1 participant