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

`uint` and `int` serialization/deserialization differs #5

Closed
netvl opened this issue Nov 13, 2014 · 0 comments
Closed

`uint` and `int` serialization/deserialization differs #5

netvl opened this issue Nov 13, 2014 · 0 comments

Comments

@netvl
Copy link

@netvl netvl commented Nov 13, 2014

uint is always serialized and deserialized as u64. int, however, uses write_be_int/read_be_int methods. This makes int serialization potentially platform-dependent.

@TyOverby TyOverby closed this in e0995aa Nov 13, 2014
strega-nil pushed a commit to strega-nil/bincode that referenced this issue May 13, 2020
Change VarInt to support all integral types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.