-
Notifications
You must be signed in to change notification settings - Fork 81
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
Serializer value() size auto-deduction #40
Comments
This is a fundamental design decision, for cross-platform compatibility. |
Well ok, |
You should use int32_t or int64_t, but I cannot enforce it, these are alias types for fundamental numeric types (e.g. |
I personally disagree that you should try to enforce it at library level... But that is my personal opinion.
There is aliases for floats? float/double have platform dependent size? |
The problem is that it is impossible to enforce to use int_32t or int. If it would be possible, then I would provide different alternatives for int_32t and int. For example: in Rust |
Hmm, I see... |
Probably discussed somewhere before, but.
Serializer
havewhy this is impossible:
?
Why value size must be always specified?
The text was updated successfully, but these errors were encountered: