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

Add serialization/deserialization for usize type #237

Closed
irakliyk opened this issue Dec 19, 2023 · 1 comment
Closed

Add serialization/deserialization for usize type #237

irakliyk opened this issue Dec 19, 2023 · 1 comment

Comments

@irakliyk
Copy link
Collaborator

Currently, ByteReader and ByteWriter traits do not support reading and writing of usize values. One reason for this is that usize may have different sizes on different platforms.

A way to get around this would be to use variable-length encoding for usize values. This would also allow us to provide proper serialization/deserialization for things like vectors and strings.

@irakliyk
Copy link
Collaborator Author

Closed by #238.

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

No branches or pull requests

1 participant