-
Notifications
You must be signed in to change notification settings - Fork 18
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
Align mask? #11
Comments
I guess you're right that receiving alignment value would make API more intuitive. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From the implementation perspective, I can see how align mask would be more convenient. But from the API perspective in the
Request
, it's not very nice. For one, it's not clear if the mask is just supposed to bealignment - 1
or the!(alignment - 1)
from the documentation. Would it be simpler to just receive the alignment and document that it has to be a power of 2?The text was updated successfully, but these errors were encountered: