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

Writeable::bytes_needed in const context #76

Open
bart-sensirion-qm opened this issue Nov 6, 2024 · 0 comments
Open

Writeable::bytes_needed in const context #76

bart-sensirion-qm opened this issue Nov 6, 2024 · 0 comments

Comments

@bart-sensirion-qm
Copy link

I think it would be great if we get access to a const time version of the bytes_needed function for Writeable implementations that don't contain dynamically sized data. I have no idea how feasible this would be but I'd like to use it for const asserts on the serialized size of structs used for communication.

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